mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Workaround for not ending up at bottom of conversation
This commit is contained in:
@@ -747,6 +747,10 @@
|
||||
this.addScrollDownButtonWithCount(unreadCount);
|
||||
}
|
||||
}, 1);
|
||||
} else if (this.view.atBottom()) {
|
||||
// If we already thought we were at the bottom, then ensure that's the case.
|
||||
// Attempting to account for unpredictable completion of message rendering.
|
||||
setTimeout(() => this.view.scrollToBottom(), 1);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user