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.

tooltip: Improve tooltip visibility for message control buttons.

akshatdalton834e8c0b63ba
diff --git a/static/js/tippyjs.js b/static/js/tippyjs.js
index 36a115fbdf8..d00f32ae61b 100644
--- a/static/js/tippyjs.js
+++ b/static/js/tippyjs.js
@@ -119,6 +119,9 @@ export function initialize() {
delegate("body", {
target: ".message_control_button",
+ // This ensures that the tooltip doesn't
+ // hide by the selected message blue border.
+ appendTo: () => document.body,
// Add some additional delay when they open
// so that regular users don't have to see
// them unless they want to.