Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_scroll: Only run `scroll_finished` when RT is not visible.

Aman Agrawala0f42edaa2dc
diff --git a/static/js/message_scroll.js b/static/js/message_scroll.js
index 77fe797bfd9..97f426e4631 100644
--- a/static/js/message_scroll.js
+++ b/static/js/message_scroll.js
@@ -190,7 +190,7 @@ export function scroll_finished() {
actively_scrolling = false;
hide_scroll_to_bottom();
- if (!$("#message_feed_container").hasClass("active")) {
+ if (recent_topics_util.is_visible()) {
return;
}