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 }}
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
In the current implementation, the event that is passed to dispatchEvent has event.currentTarget set to the shadow root. This might break event handling in certain scenarios.
Does it make sense to set the currentTarget before invoking the react event handler?
The text was updated successfully, but these errors were encountered:
I just realized that event.currentTarget is read-only and cannot be set. Is there any other way we can make sure the react event handler sees the right currentTarget (instead of seeing the shadow root)?
In the current implementation, the event that is passed to
dispatchEvent
hasevent.currentTarget
set to the shadow root. This might break event handling in certain scenarios.Does it make sense to set the currentTarget before invoking the react event handler?
The text was updated successfully, but these errors were encountered: