Browse Source

room-history: Make sure auto-scrolling scrolls all the way down

Seems to be an issue otherwise when we switch rooms.
merge-requests/1327/merge
Kévin Commaille 3 years ago
parent
commit
83f2dbd6c7
No known key found for this signature in database
GPG Key ID: DD507DAE96E8245C
  1. 2
      src/session/content/room_history/mod.rs

2
src/session/content/room_history/mod.rs

@ -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…
Cancel
Save