Fix down arrow again

This commit is contained in:
Eduard Kuzmenko 2022-08-21 14:25:19 +02:00
parent 3cfc0044ae
commit 6d4e042bc3
2 changed files with 5 additions and 5 deletions

View File

@ -1805,7 +1805,7 @@ export default class ChatBubbles {
public async onGoDownClick() {
if(!this.replyFollowHistory.length) {
this.onScroll(true, undefined, true);
// this.onScroll(true, undefined, true);
this.chat.setMessageId(/* , dialog.top_message */);
// const dialog = this.appMessagesManager.getDialogByPeerId(this.peerId)[0];
@ -5267,7 +5267,7 @@ export default class ChatBubbles {
log('change', side, value);
this.scrollable.loadedAll[side] = value;
this.scrollable.onScroll(); // ! WARNING
// return;
if(!checkPlaceholders) {

View File

@ -159,13 +159,13 @@ export class ScrollableBase {
public scrollIntoViewNew(options: Omit<ScrollOptions, 'container'>) {
// return Promise.resolve();
this.removeListeners();
// this.removeListeners();
return fastSmoothScroll({
...options,
container: this.container
}).finally(() => {
});/* .finally(() => {
this.setListeners();
});
}); */
}
public onScroll = () => {