mirror of https://github.com/zulip/zulip.git
left-sidebar: Fix 3-points-menu responsive bug.
In responsive narrow windows where the left sidebar is an overlay, clicking the \vdots menus for 'All messages' and 'Starred messages' would result in the navigation closing and the menu appearing somewhere weird. We fix this the same way that we address this issue with the similar stream/topic menus, by calling the function to show this sidebar after closing all popovers. Fixes: #17537.
This commit is contained in:
parent
44ff6da107
commit
2d414fa897
|
@ -268,6 +268,7 @@ function build_all_messages_popover(e) {
|
|||
}
|
||||
|
||||
popovers.hide_all();
|
||||
exports.show_streamlist_sidebar();
|
||||
|
||||
const content = render_all_messages_sidebar_actions();
|
||||
|
||||
|
@ -293,6 +294,7 @@ function build_starred_messages_popover(e) {
|
|||
}
|
||||
|
||||
popovers.hide_all();
|
||||
exports.show_streamlist_sidebar();
|
||||
|
||||
const content = render_starred_messages_sidebar_actions({
|
||||
starred_message_counts: page_params.starred_message_counts,
|
||||
|
|
Loading…
Reference in New Issue