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
When using the trigger inside multi level shadowDoms the "is click inside" functionality is not working as expected.
The current implementation inPopupOrChild checks if the click event target is in the popup element. Then checks if the shadow the popup belongs to is the target due to event re-targeting.
This fails when there are multiple levels of shadow so the event has been re-targeted multiple times.
This can be fixed by also checking the compostedPath of the event in useWinClick to try to find the actual click event target.
The text was updated successfully, but these errors were encountered:
When using the trigger inside multi level shadowDoms the "is click inside" functionality is not working as expected.
The current implementation inPopupOrChild checks if the click event target is in the popup element. Then checks if the shadow the popup belongs to is the target due to event re-targeting.
This fails when there are multiple levels of shadow so the event has been re-targeted multiple times.
This can be fixed by also checking the compostedPath of the event in useWinClick to try to find the actual click event target.
The text was updated successfully, but these errors were encountered: