Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: Avoid zooming out when toggling stream subscription.
Hemant Umre7036b0d46672
diff --git a/web/src/stream_list.js b/web/src/stream_list.jsindex 53c8c0c8cad..9d3f4b0389e 100644--- a/web/src/stream_list.js+++ b/web/src/stream_list.js@@ -147,14 +147,13 @@ function get_search_term() {export function add_sidebar_row(sub) {create_sidebar_row(sub);- build_stream_list();- stream_cursor.redraw();+ update_streams_sidebar();}export function remove_sidebar_row(stream_id) {stream_sidebar.remove_row(stream_id);- build_stream_list();- stream_cursor.redraw();+ const force_rerender = stream_id === topic_list.active_stream_id();+ update_streams_sidebar(force_rerender);}export function create_initial_sidebar_rows() {