From 8ffd98162cd6c7fcc3be104718861ea61aa0e122 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 5 Nov 2021 17:48:44 +0100 Subject: [PATCH] don't make the composer shrink for now, timeline loses scroll position --- src/platform/web/ui/session/room/MessageComposer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform/web/ui/session/room/MessageComposer.js b/src/platform/web/ui/session/room/MessageComposer.js index 6fe0d424..08048b80 100644 --- a/src/platform/web/ui/session/room/MessageComposer.js +++ b/src/platform/web/ui/session/room/MessageComposer.js @@ -117,7 +117,6 @@ export class MessageComposer extends TemplateView { return; } this._rafResizeHandle = window.requestAnimationFrame(() => { - this._input.style.height = "auto"; const scrollHeight = this._input.scrollHeight; this._input.style.height = `${scrollHeight}px`; this._rafResizeHandle = undefined;