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.

compose: Prevent upload files tooltip from hiding behind left sidebar.

My-Name-Is-Nabil20d0fc9733d4
diff --git a/static/js/tippyjs.js b/static/js/tippyjs.js
index 284ddde20da..004b2b85128 100644
--- a/static/js/tippyjs.js
+++ b/static/js/tippyjs.js
@@ -117,6 +117,9 @@ export function initialize() {
// so that regular users don't have to see
// them unless they want to.
delay: [300, 20],
+ // This ensures that the upload files tooltip
+ // doesn't hide behind the left sidebar.
+ appendTo: () => document.body,
});
delegate("body", {