mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
left_sidebar: Add scrollbar for private messages region.
This fixes a longstanding UI issue when you have way too many recent private message conversations, as you can now scroll down the list to find what you're looking for. Fixes #5384.
This commit is contained in:
committed by
Tim Abbott
parent
af3b18d1f5
commit
815d009006
@@ -62,7 +62,7 @@ function set_pm_conversation_count(user_ids_string, count) {
|
||||
|
||||
function remove_expanded_private_messages() {
|
||||
stream_popover.hide_topic_popover();
|
||||
$("ul.expanded_private_messages").remove();
|
||||
$("#private-container").remove();
|
||||
resize.resize_stream_filters_container();
|
||||
}
|
||||
|
||||
@@ -167,6 +167,9 @@ exports.update_private_messages = function () {
|
||||
exports.rebuild_recent("");
|
||||
$(".top_left_private_messages").addClass('active-filter');
|
||||
}
|
||||
if ($("#private-container").length !== 0) {
|
||||
ui.set_up_scrollbar($("#private-container"));
|
||||
}
|
||||
};
|
||||
|
||||
exports.set_click_handlers = function () {
|
||||
|
||||
Reference in New Issue
Block a user