Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message scroll: Check message feed visibility instead of recent topics.
evykassirer76d9b1d9d0ba
diff --git a/web/src/message_scroll.js b/web/src/message_scroll.jsindex 54f1680716e..3c08dd54f11 100644--- a/web/src/message_scroll.js+++ b/web/src/message_scroll.js@@ -6,7 +6,6 @@ import * as message_fetch from "./message_fetch";import * as message_lists from "./message_lists";import * as message_viewport from "./message_viewport";import * as narrow_state from "./narrow_state";-import * as recent_topics_util from "./recent_topics_util";import * as unread from "./unread";import * as unread_ops from "./unread_ops";import * as unread_ui from "./unread_ui";@@ -82,7 +81,7 @@ export function scroll_finished() {message_lists.current.view.update_sticky_recipient_headers();hide_scroll_to_bottom();- if (recent_topics_util.is_visible()) {+ if (!narrow_state.is_message_feed_visible()) {return;}