mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
left sidebar: Make sure the selected stream is visible in left sidebar.
This triggers a scroll in the left sidebar after an initial narrow if the target stream isn't visible. Fixes #9043.
This commit is contained in:
@@ -51,6 +51,7 @@ function process_result(data, opts) {
|
||||
activity.process_loaded_messages(messages);
|
||||
stream_list.update_streams_sidebar();
|
||||
pm_list.update_private_messages();
|
||||
stream_list.maybe_scroll_narrow_into_view();
|
||||
|
||||
if (opts.cont !== undefined) {
|
||||
opts.cont(data);
|
||||
|
||||
Reference in New Issue
Block a user