diff --git a/ts/components/conversation/Timeline.tsx b/ts/components/conversation/Timeline.tsx index 12afbe11a..5751a5ee1 100644 --- a/ts/components/conversation/Timeline.tsx +++ b/ts/components/conversation/Timeline.tsx @@ -220,7 +220,7 @@ export class Timeline extends React.Component< this.setState(() => { // Prevent scroll due to elements shrinking or disappearing (e.g. typing indicators) const scrollLockHeight = scrollLocked - ? this.#messagesRef.current?.offsetHeight + ? this.#messagesRef.current?.getBoundingClientRect().height : undefined; return { scrollLocked,