From f568a76dc6444ef04fe2dc3809c0d8e38f94c079 Mon Sep 17 00:00:00 2001 From: Germain Date: Wed, 8 Jun 2022 13:29:16 +0100 Subject: [PATCH] Fix scroll jump issue with the composer (#8788) --- 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 6805f158ed..efa8a6c841 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