Fix handling chat resize
This commit is contained in:
parent
9cac66831a
commit
0753649f02
@ -2359,8 +2359,6 @@ export default class ChatBubbles {
|
|||||||
this.viewsMids.clear();
|
this.viewsMids.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.destroyResizeObserver();
|
|
||||||
|
|
||||||
this.middleware.clean();
|
this.middleware.clean();
|
||||||
|
|
||||||
this.onAnimateLadder = undefined;
|
this.onAnimateLadder = undefined;
|
||||||
@ -2508,6 +2506,7 @@ export default class ChatBubbles {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.isFirstLoad = true;
|
this.isFirstLoad = true;
|
||||||
|
this.destroyResizeObserver();
|
||||||
}
|
}
|
||||||
|
|
||||||
const oldChatInner = this.chatInner;
|
const oldChatInner = this.chatInner;
|
||||||
|
Loading…
Reference in New Issue
Block a user