Fix scroll jump issue with the composer (#8791)

This commit is contained in:
Germain 2022-06-08 15:02:15 +01:00 committed by GitHub
parent f568a76dc6
commit 5167521ea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -27,6 +27,11 @@ limitations under the License.
"composer controls" auto
/ 1fr auto;
/* 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_ReplyPreview {
grid-area: reply;
}

View file

@ -31,11 +31,6 @@ 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