Skip to content
Commit 2527d532 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Keep last visible message when new message field height changes



The new message field is below the message list, so adding or removing
lines from the message being composed changes the height of the new
message field and, with it, the height of the message list. This change,
however, did not affect the scroll position of the message list, so
adding lines to the new message field caused it to overlap the last
visible message in the list. Now the height change in the new message
field is handled to update the scroll position of the message list and
keep the last visible message at the bottom (both when lines are added
and removed from the new message field).

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 87387138
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment