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
By the time the event bubbles, if the event.target is no longer in the DOM, el.contains will return false which incorrectly registers as an 'outside' click. This limits the usefulness of this package, fixes include:
Add Event.stopPropagation on every single element that is removed from the DOM after the event bubbles.
Use Event.composedPath() / Event.path to correctly detect event.target location at the time of the event.
The text was updated successfully, but these errors were encountered:
By the time the event bubbles, if the event.target is no longer in the DOM, el.contains will return false which incorrectly registers as an 'outside' click. This limits the usefulness of this package, fixes include:
The text was updated successfully, but these errors were encountered: