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.

recent_topics: Don't mark messages as read on scrolling.

Aman Agrawaldda36d1c934a
diff --git a/static/js/ui_init.js b/static/js/ui_init.js
index 5e678fd0d96..f4782399c75 100644
--- a/static/js/ui_init.js
+++ b/static/js/ui_init.js
@@ -91,7 +91,7 @@ exports.initialize_kitchen_sink_stuff = function () {
message_viewport.message_pane.on("wheel", (e) => {
const delta = e.originalEvent.deltaY;
- if (!overlays.is_active()) {
+ if (!overlays.is_active() && !recent_topics.is_visible()) {
// In the message view, we use a throttled mousewheel handler.
throttled_mousewheelhandler(e, delta);
}