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 we add an event handler to an element and then execute it, we find that both currentTarget and target are the same, rather than currentTarget belonging to the element where the event listener is attached and target belonging to the element that triggered the event.
Describe the bug
When we add an event handler to an element and then execute it, we find that both currentTarget and target are the same, rather than currentTarget belonging to the element where the event listener is attached and target belonging to the element that triggered the event.
Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACkWOzY6DMAyEXyWyegAVwe6VBqS-w942PbDBVFGDgxKnUhXl3VeB_bnZnvE3k2AxFgP0nwloWhF6uG4bNMCvrSzhiZYRGgguel0uMmhvNh4VKbbIQrtILAZxCjwxVm_1RVHRlkiajSNhSHtckbjCWqQiKdaOgrPYWnevsNXReyT-mPwduRHY8j7Vh_f3o8ScB_Fe-JwVye6_CcmvyOxIONLW6MeQ_lLz3lTO5jn-kIoh9CLtyLyr3SHL7sCM0MDqZrMYnKFnHzHf8jcEntpGKwEAAA==
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: