mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
tooltips: Use TippyJS instead of HTML title in recipient bars.
Additional changes are added in `tippyjs.js` to ensure that the tooltip doesn't hide behind the message box or it is not limited by the parent container, in case of recipient bar icons.
This commit is contained in:
@@ -176,4 +176,13 @@ export function initialize() {
|
||||
instance.destroy();
|
||||
},
|
||||
});
|
||||
|
||||
// In case of recipient bar icons, following change
|
||||
// ensures that tooltip doesn't hide behind the message
|
||||
// box or it is not limited by the parent container.
|
||||
delegate("body", {
|
||||
target: ".recipient_bar_icon",
|
||||
placement: "top",
|
||||
appendTo: () => document.body,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user