Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_list: Don't count channel search in sticky header height.
Aman Agrawal23508743a4f6
diff --git a/web/src/stream_list.ts b/web/src/stream_list.tsindex 1ea01e6335f..96080dc8cf2 100644--- a/web/src/stream_list.ts+++ b/web/src/stream_list.ts@@ -1471,7 +1471,6 @@ export let scroll_stream_into_view = function ($stream_li: JQuery): void {blueslip.error("Invalid stream_li was passed in");return;}- const stream_filter_height = $("#left-sidebar-search").outerHeight()!;const header_height = $stream_li.closest(".stream-list-section-container").children(".stream-list-subsection-header")@@ -1479,7 +1478,7 @@ export let scroll_stream_into_view = function ($stream_li: JQuery): void {scroll_util.scroll_element_into_container($stream_li,$container,- stream_filter_height + header_height,+ header_height,);// Note: If the stream is in a collapsed folder, we don't uncollapse// the folder. We do uncollapse when the user clicks on the channel,