mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
list_render: Use simplebar container to track scroll event.
We have changed our all instances of list_render to use simplebar and thus, we will now use simplebar container to track scroll event for all the lists created by list_render. This fixes the bug of new subscribers not rendering on scrolling at the end of subscriber list in stream settings and similar bug in some other lists also. This commit also removes scroll_util.get_list_scrolling_container function as this is no longer used. Fixes #15637.
This commit is contained in:
@@ -419,6 +419,7 @@ exports.complete_rerender = function () {
|
||||
topic_sort: topic_sort,
|
||||
},
|
||||
html_selector: get_topic_row,
|
||||
simplebar_container: $('#recent_topics_table .table_fix_head'),
|
||||
});
|
||||
revive_current_focus();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user