Fix scroll jump issue with the composer (#8791)
parent
f568a76dc6
commit
5167521ea4
|
@ -27,6 +27,11 @@ limitations under the License.
|
||||||
"composer controls" auto
|
"composer controls" auto
|
||||||
/ 1fr 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 {
|
.mx_ReplyPreview {
|
||||||
grid-area: reply;
|
grid-area: reply;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,11 +31,6 @@ 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
|
||||||
|
|
Loading…
Reference in New Issue