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 (#8788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain authored Jun 8, 2022
1 parent 9656692 commit f568a76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions res/css/views/rooms/_SendMessageComposer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f568a76

Please sign in to comment.