Fix scroll jump issue with the composer (#8788)

pull/28217/head
Germain 2022-06-08 13:29:16 +01:00 committed by GitHub
parent 9656692700
commit f568a76dc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ limitations under the License.
display: flex; display: flex;
flex-direction: column; 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 { .mx_BasicMessageComposer_input {
// this will center the contenteditable // this will center the contenteditable
// in it's parent vertically // in it's parent vertically