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.

send_button: Suppress Send tooltip on tabbing to send.

Karl Stolley9f992353683b
diff --git a/web/src/tippyjs.js b/web/src/tippyjs.js
index af2af748163..6894da949ce 100644
--- a/web/src/tippyjs.js
+++ b/web/src/tippyjs.js
@@ -317,6 +317,10 @@ export function initialize() {
delegate("body", {
target: "#compose-send-button",
delay: EXTRA_LONG_HOVER_DELAY,
+ // By default, tippyjs uses a trigger value of "mouseenter focus",
+ // but by specifying "mouseenter", this will prevent showing the
+ // Send tooltip when tabbing to the Send button.
+ trigger: "mouseenter",
appendTo: () => document.body,
onShow(instance) {
if (user_settings.enter_sends) {