mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Anchor scroll to bottom when switching channels.
This commit is contained in:
@@ -23,6 +23,7 @@ export class ChannelRenderer {
|
||||
stale = false;
|
||||
fetching = false;
|
||||
scrollPosition = 0;
|
||||
scrollAnchored = false;
|
||||
|
||||
constructor(channel: Channel) {
|
||||
this.channel = channel;
|
||||
@@ -31,6 +32,7 @@ export class ChannelRenderer {
|
||||
channel: false,
|
||||
currentRenderer: false,
|
||||
scrollPosition: false,
|
||||
scrollAnchored: false,
|
||||
});
|
||||
|
||||
this.receive = this.receive.bind(this);
|
||||
|
||||
Reference in New Issue
Block a user