Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose_tooltips: Don't show tooltip on focus.
Aman Agrawal339f85c308d5
diff --git a/web/src/compose_tooltips.js b/web/src/compose_tooltips.jsindex 308c4ff5416..970bb3c9d92 100644--- a/web/src/compose_tooltips.js+++ b/web/src/compose_tooltips.js@@ -23,6 +23,10 @@ export function initialize() {"#new_direct_message_button",],delay: EXTRA_LONG_HOVER_DELAY,+ // Only show on mouseenter since for spectators, clicking on these+ // buttons opens login modal, and Micromodal returns focus to the+ // trigger after it closes, which results in tooltip being displayed.+ trigger: "mouseenter",appendTo: () => document.body,onHidden(instance) {instance.destroy();