tippy: Add delay for recipient bar icons.

This commit adds a long hover delay [750,20] to recipient bar icons.
Doing this prevents the situation when the tippy tooltips are left
floating when the icons suddenly disappear as you enter the topics
according to the organization settings and the references are removed.
Adding an additional delay ensures that the icons disappear and then
the tooltips appear.
This commit is contained in:
Palash Baderia
2022-10-11 17:50:27 +05:30
committed by Tim Abbott
parent e54f920549
commit f46f557109

View File

@@ -416,6 +416,7 @@ export function initialize() {
}); });
message_list_tooltip([".recipient_bar_icon"], { message_list_tooltip([".recipient_bar_icon"], {
delay: LONG_HOVER_DELAY,
onHidden(instance) { onHidden(instance) {
instance.destroy(); instance.destroy();
}, },