From 84a1ba8a78fc129b5ef57a5ee111fd8dec0f68a8 Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Wed, 8 Jun 2022 12:29:40 +0100 Subject: [PATCH] Fix scroll jump issue with the composer --- res/css/views/rooms/_SendMessageComposer.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/res/css/views/rooms/_SendMessageComposer.scss b/res/css/views/rooms/_SendMessageComposer.scss index 6805f158ed7..efa8a6c841c 100644 --- a/res/css/views/rooms/_SendMessageComposer.scss +++ b/res/css/views/rooms/_SendMessageComposer.scss @@ -31,6 +31,11 @@ limitations under the License. display: flex; flex-direction: column; + /* the below is required, without this some unexpected scroll jump + will occur when erasing the composer content or jumping to voice note + recording */ + min-height: 45px; + .mx_BasicMessageComposer_input { // this will center the contenteditable // in it's parent vertically