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.

left_sidebar: Don't scroll stream into view on folder update.

Evy Kassirerc9cee7ece234
diff --git a/web/src/stream_settings_ui.ts b/web/src/stream_settings_ui.ts
index 135c8f80edb..5b444991539 100644
--- a/web/src/stream_settings_ui.ts
+++ b/web/src/stream_settings_ui.ts
@@ -244,10 +244,6 @@ export function update_channel_folder(sub: StreamSubscription, folder_id: number
stream_data.update_channel_folder(sub, folder_id);
stream_ui_updates.update_channel_folder_dropdown(sub);
stream_list.build_stream_list(false);
- const $stream_li = stream_list.get_stream_li(sub.stream_id);
- if ($stream_li) {
- stream_list.scroll_stream_into_view($stream_li);
- }
const section_id = stream_list_sort.current_section_id_for_stream(sub.stream_id);
stream_list.maybe_hide_topic_bracket(section_id);
}