0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-28 16:12:17 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
Simon H
76a4bbd5ec
fix: handle event delegation correctly when having sibling event listeners (#10307)
If you had `on:` directives listening to the same name (through multiple on:click on the same element or indirectly through multiple `<svelte:window>` elements with event listeners of the same name) there was a bug of delegation firing too often. This PR fixes that by tweaking the "should I continue with the given path index" logic.
fixes #10271
2024-01-29 11:56:22 +01:00