Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltip: Add separate .status-emoji-name tooltip for typeahead.
Pratik Chandadf41cbd50356
diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.tsindex cefe3b445dc..78b3bbcb3f6 100644--- a/web/src/tippyjs.ts+++ b/web/src/tippyjs.ts@@ -628,7 +628,7 @@ export function initialize(): void {});tippy.delegate("body", {- target: ".status-emoji-name",+ target: ".status-emoji-name:not(.typeahead-item .status-emoji-name)",placement: "top",delay: INSTANT_HOVER_DELAY,appendTo: () => document.body,@@ -646,6 +646,22 @@ export function initialize(): void {},});+ tippy.delegate("body", {+ target: ".typeahead-item .status-emoji-name",+ placement: "top",+ delay: INSTANT_HOVER_DELAY,+ appendTo: () => document.body,++ /*+ Status emoji tooltips for emojis inside typeahead to+ separately handle emoji instance.+ */++ onHidden(instance) {+ instance.destroy();+ },+ });+tippy.delegate("body", {target: [".custom-profile-field-value",