Browse Source

Fix handling chat resize

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

3
src/components/chat/bubbles.ts

@ -2359,8 +2359,6 @@ export default class ChatBubbles { @@ -2359,8 +2359,6 @@ export default class ChatBubbles {
this.viewsMids.clear();
}
this.destroyResizeObserver();
this.middleware.clean();
this.onAnimateLadder = undefined;
@ -2508,6 +2506,7 @@ export default class ChatBubbles { @@ -2508,6 +2506,7 @@ export default class ChatBubbles {
}
} else {
this.isFirstLoad = true;
this.destroyResizeObserver();
}
const oldChatInner = this.chatInner;

Loading…
Cancel
Save