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: Fix send later tooltip being cut by compose box container.

Aman Agrawal5f0fa1b730ef
diff --git a/web/src/tippyjs.js b/web/src/tippyjs.js
index 113bac7754c..d307da07590 100644
--- a/web/src/tippyjs.js
+++ b/web/src/tippyjs.js
@@ -567,4 +567,11 @@ export function initialize() {
},
appendTo: () => document.body,
});
+
+ delegate("body", {
+ target: "#send_later",
+ delay: LONG_HOVER_DELAY,
+ placement: "top",
+ appendTo: () => document.body,
+ });
}
diff --git a/web/templates/compose.hbs b/web/templates/compose.hbs
index a642cb61faf..56f9448b646 100644
--- a/web/templates/compose.hbs
+++ b/web/templates/compose.hbs
@@ -115,7 +115,7 @@
<button id="compose-schedule-confirm-button" class="button small hide animated-purple-button" tabindex=0>
<span>{{t 'Schedule' }}</span>
</button>
- <button class="animated-purple-button message-control-button tippy-zulip-tooltip" data-tippy-content="{{t 'Send later' }}" id="send_later" tabindex=0 type="button">
+ <button class="animated-purple-button message-control-button" id="send_later" tabindex=0 type="button" data-tippy-content="{{t 'Send later' }}">
<i class="fa fa-chevron-up"></i>
</button>
</div>