mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
FIX: prevents user-tips to interfere with widget (#23066)
Prior to this fix the user tip was rendered with panels and interfering with widget code. I suspect it was causing the widget node (revamped-hamburger-menu-wrapper) to not be removed, as a result clickOutside would be called two times, negating the effect of the click. This fix is just rendering the tip in a different node, preventing the interference, it shouldn't impact behavior as the positioning is absolute.
This commit is contained in:
parent
8053cb0c21
commit
31626ce85d
@ -163,7 +163,7 @@ createWidget("header-notifications", {
|
||||
reference: document
|
||||
.querySelector(".d-header .badge-notification")
|
||||
?.parentElement?.querySelector(".avatar"),
|
||||
appendTo: document.querySelector(".d-header .panel"),
|
||||
appendTo: document.querySelector(".d-header"),
|
||||
|
||||
placement: "bottom-end",
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user