Browse Source

Fix displaying date on message input resize

master
Eduard Kuzmenko 3 years ago
parent
commit
3e3668c8a3
  1. 4
      src/components/chat/bubbles.ts

4
src/components/chat/bubbles.ts

@ -906,7 +906,7 @@ export default class ChatBubbles {
} */ } */
if(part) { if(part) {
this.scrollable.scrollTop += Math.round(part); this.scrollable.setScrollTopSilently(this.scrollable.scrollTop + Math.round(part));
} }
wasHeight = height; wasHeight = height;
@ -975,7 +975,7 @@ export default class ChatBubbles {
if(diff) { if(diff) {
const needScrollTop = this.scrollable.scrollTop + diff; const needScrollTop = this.scrollable.scrollTop + diff;
this.scrollable.scrollTop = needScrollTop; this.scrollable.setScrollTopSilently(needScrollTop);
} }
setEndRAF(false); setEndRAF(false);

Loading…
Cancel
Save