Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popovers: Register mobile compose tooltip on button container.
Karl Stolleyd720ce4b4e7c
diff --git a/web/src/popover_menus.js b/web/src/popover_menus.jsindex e0ad80d97bd..eba00f17aef 100644--- a/web/src/popover_menus.js+++ b/web/src/popover_menus.js@@ -386,7 +386,12 @@ export function initialize() {// that could possibly obstruct user from using this popover.delegate("body", {...default_popover_props,- target: ".compose_mobile_button",+ // Attach the click event to `.mobile_button_container`, since+ // the button (`.compose_mobile_button`) already has a hover+ // action attached, for showing the keyboard shortcut,+ // and Tippy cannot handle events that trigger two different+ // actions+ target: ".mobile_button_container",placement: "top",onShow(instance) {popover_instances.compose_mobile_button = instance;