Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltips: Hide scroll button tooltip under transition.
shashank-23002246441bdcc6b
diff --git a/web/src/message_scroll.js b/web/src/message_scroll.jsindex 93d8003948e..c4b0b4299f4 100644--- a/web/src/message_scroll.js+++ b/web/src/message_scroll.js@@ -183,7 +183,7 @@ export function initialize() {// this button is finished. This is necessary because the fading animation// confuses Tippy's built-in `data-reference-hidden` feature.$show_scroll_to_bottom_button.on("transitionend", (e) => {- if (e.propertyName === "visibility") {+ if (e.originalEvent.propertyName === "visibility") {const tooltip = $("#scroll-to-bottom-button-clickable-area")[0]._tippy;// make sure the tooltip exists and the class is not currently showingif (tooltip && !$show_scroll_to_bottom_button.hasClass("show")) {