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.

pm_section: Fix ghost tooltip on collapse/expand DM toggle.

Sayam Samaleb9373887304
diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.ts
index cb296e1797b..fe1b3d2f7a7 100644
--- a/web/src/tippyjs.ts
+++ b/web/src/tippyjs.ts
@@ -487,6 +487,9 @@ export function initialize(): void {
},
delay: EXTRA_LONG_HOVER_DELAY,
appendTo: () => document.body,
+ onHidden(instance) {
+ instance.destroy();
+ },
});
tippy.delegate("body", {