Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_list_view: Only update scroll position for current msg list.
Aman Agrawal2c8a5ac751bd
diff --git a/web/src/message_list_view.js b/web/src/message_list_view.jsindex a8f56bfa4f0..2b5ed5f2fd1 100644--- a/web/src/message_list_view.js+++ b/web/src/message_list_view.js@@ -1178,7 +1178,7 @@ export class MessageListView {// window such that the newly selected message is at the// same location as it would have been before we// re-rendered.- if (target_offset !== undefined) {+ if (target_offset !== undefined && message_lists.current === this) {if (this.selected_row().length === 0 && this.list.selected_id() > -1) {this.list.select_id(this.list.selected_id(), {use_closest: true});}