Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix scroll jump issue with the composer (#8791)
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain committed Jun 8, 2022
1 parent f568a76 commit 5167521
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions res/css/views/rooms/_MessageComposer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
5 changes: 0 additions & 5 deletions res/css/views/rooms/_SendMessageComposer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5167521

Please sign in to comment.