room-history: Make sure auto-scrolling scrolls all the way down
Seems to be an issue otherwise when we switch rooms.
This commit is contained in:
parent
9d7b31e502
commit
83f2dbd6c7
1 changed files with 2 additions and 0 deletions
|
@ -348,6 +348,8 @@ mod imp {
|
|||
if is_at_bottom {
|
||||
imp.is_auto_scrolling.set(false);
|
||||
obj.set_sticky(true);
|
||||
} else {
|
||||
obj.scroll_down();
|
||||
}
|
||||
} else {
|
||||
obj.set_sticky(is_at_bottom);
|
||||
|
|
Loading…
Reference in a new issue