Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

reminders: Show vdots with reminders popover open.

Karl Stolleye8f5c46054bc
diff --git a/web/src/compose_send_menu_popover.js b/web/src/compose_send_menu_popover.js
index 0fdd8a10672..1ed1a6c2122 100644
--- a/web/src/compose_send_menu_popover.js
+++ b/web/src/compose_send_menu_popover.js
@@ -71,6 +71,9 @@ export function open_schedule_message_menu(
},
onMount(instance) {
if (remind_message_id !== undefined) {
+ // Maintain the vdots visibility, as when the message
+ // actions menu is open
+ $(instance.reference).closest(".message_row").addClass("has_actions_popover");
popover_menus.focus_first_popover_item(
popover_menus.get_popover_items_for_instance(instance),
);
@@ -137,6 +140,10 @@ export function open_schedule_message_menu(
);
},
onHidden(instance) {
+ if (remind_message_id !== undefined) {
+ // Hide the vdots
+ $(instance.reference).closest(".message_row").removeClass("has_actions_popover");
+ }
clearInterval(interval);
instance.destroy();
popover_menus.popover_instances.send_later_options = undefined;