Fix scroll jump issue with the composer (#8788)

This commit is contained in:
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

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