mirror of https://github.com/zulip/zulip.git
Don't hide the floating recipient bar when scrolling.
We made this change for performance reasons that don't exist now that we only render a small portion of your messages, and it causes a distracting flicker when you scroll through messages slowly. (imported from commit 33379320f6b90d93ec8beac17323b287f8bb2485)
This commit is contained in:
parent
9451451672
commit
297bc7f09b
|
@ -568,12 +568,6 @@ $(function () {
|
|||
});
|
||||
|
||||
$(window).scroll($.throttle(50, function (e) {
|
||||
if (!hotkeys.in_scroll_caused_by_keypress) {
|
||||
// Only hide the recipient bar when mousewheel/trackpad scrolling,
|
||||
// not when going through messages one by one with the arrow
|
||||
// keys.
|
||||
hide_floating_recipient_bar();
|
||||
}
|
||||
scroll_finish();
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue