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.

message_list: Suppress reaction button tooltip with picker open.

Karl Stolley9f98e572f1ab
diff --git a/web/src/message_list_tooltips.js b/web/src/message_list_tooltips.js
index 2c0ed83875e..f4f90de560a 100644
--- a/web/src/message_list_tooltips.js
+++ b/web/src/message_list_tooltips.js
@@ -150,6 +150,11 @@ export function initialize() {
}
const $elem = $(instance.reference);
+ if ($elem.hasClass("active-emoji-picker-reference")) {
+ // Don't show the tooltip when the emoji picker is open
+ return false;
+ }
+
const config = {attributes: false, childList: true, subtree: true};
const target = $elem.parents(".message-list.focused-message-list").get(0);
const nodes_to_check_for_removal = [