You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Popover still opens on target click after being removed from DOM #7683
When a popover is removed from the DOM, clicking its target does still open it. Furthermore, the popover can then not be closed on outside click, as the respective event handler is removed in disconnectedCallback.
Expected outcome
The popover should not open anymore after being removed from the DOM, neither automatically nor programmatically. While it should remove respective listeners, we probably don't want to clear the target in case the popover is going to be attached to the DOM again.
We should also make sure that there is no reference back from the target to the popover, so that it can be GCed if there is no other reference to it.
Activity