0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/.changeset/rich-cobras-exist.md
Simon H b3ba25da94
fix: simplify event delegation logic (#10169)
* fix: simplify event delegation logic

Only delegate event attributes, and don't take into account bindings/actions while determining that. Never delegate `on:` directives. This simplifies the logic and makes it easier to explain, while avoiding any accidental breaking changes when upgrading from Svelte 4 to 5 without changing code.
Fixes #10165
Related to #9714

* update types
2024-01-13 14:40:31 +00:00

94 B

svelte
patch

fix: simplify event delegation logic, only delegate event attributes