Commit Graph

43 Commits (155c8d674fe17b47011090b73ff11eaf7da90a27)

Author SHA1 Message Date
Simon H 155c8d674f
Merge c05abb5e54 into 942eaf027b
1 week ago
Rich Harris c04975d3db
fix: prevent last_propagated_event from being DCE'd (#16538)
1 month ago
Laszlo Korte a91e0154d4
fix: double event processing in Firefox (#16522) (#16527)
1 month ago
7nik 94a2bca0e3
fix: cleanup event handlers on media elements (#16005)
3 months ago
Ryan Atkinson d4fb9f4b10
fix: remove unncessary guards that require CSP privilege when removing event attributes (#15846)
4 months ago
Rich Harris fc61262b61
chore: delete some unused code (#15783)
5 months ago
adiGuba c5912aad71
fix: null and warnings for local handlers (#15460)
6 months ago
Simon H 9091e7e930
fix: fire delegated events on target even it was disabled in the meantime (#15319)
7 months ago
Paolo Ricciuti 7da86ef80c
fix: don't throw for `undefined` non delegated event handlers (#15087)
8 months ago
Simon Holthausen c05abb5e54 fix: don't delegate events on custom elements, solve edge case stopPropagation issue
8 months ago
Dominic Gannaway 7eb4cb91d7
chore: ensure binding events are without context (#14194)
10 months ago
Dominic Gannaway d621f59642
feat: allow usage of getContext() within $derived runes (#13830)
11 months ago
Dominic Gannaway be02b7e54c
event_context (#13737)
11 months ago
Leon Radley 6ed45db20f
fix: add document and window to svelte/events on types. (#13260)
12 months ago
Paolo Ricciuti 09dff9bde2
fix: allow custom element events on slot to bubble inside custom element (#13222)
12 months ago
Dominic Gannaway 9cb9692aea
fix: ensure event currentTarget is reset after propagation logic (#13042)
1 year ago
Rich Harris c5c54dabcc
chore: default options.filename to "(unknown)" (#12997)
1 year ago
Rich Harris c51dfcfc00
feat: warn on invalid event handlers (#12818)
1 year ago
Dominic Gannaway 8bde2d5710
fix: add touch events on microtask to avoid Chromium bug (#12735)
1 year ago
Rich Harris 8d3c0266ce
breaking: use `structuredClone` inside `$state.snapshot` (#12413)
1 year ago
Simon H 587bbe4b5f
fix: more event handling tweaks (#12383)
1 year ago
Rich Harris 7e462eec26
chore: use unbound event listeners (#12165)
1 year ago
Simon H f1d8ed64fd
fix: better types for `on` (#12053)
1 year ago
Simon H 0119f25125
fix: better event delegation behavior around multiple listeners (#12024)
1 year ago
Dominic Gannaway 50fd94fe61
fix: address event delegation duplication behaviour (#12014)
1 year ago
Rich Harris 2be6d43ea3
feat: defer tasks without creating effects (#11960)
1 year ago
Rich Harris ddb0bc3888
chore: optimise effects that only exist to return a teardown (#11936)
1 year ago
Dominic Gannaway aadf629580
feat: add svelte/events package and export on function (#11912)
1 year ago
Dominic Gannaway 03945bd9bc
fix: ensure event.target is correct for delegation (#11900)
1 year ago
Dominic Gannaway 3c87a69999
breaking: removed deferred event updates (#11855)
1 year ago
Dominic Gannaway 9d2ecc1d7a
chore: improve event error handling (#11840)
1 year ago
Dominic Gannaway 5f7bfac59a
chore: cleanup event changes (#11821)
1 year ago
Dominic Gannaway c71e29c1eb
fix: better support for onwheel events in chrome (#11808)
1 year ago
Dominic Gannaway fe51cde1fa
breaking: event handlers + bindings now yield effect updates (#11706)
1 year ago
Simon H c21f019a4b
chore: speedup hydration around input and select values (#11717)
1 year ago
Dominic Gannaway a5fd28a14b
fix: inline pointer events now correctly work in Chrome (#11695)
1 year ago
Dominic Gannaway 54083fb9cc
fix: replay load and error events on load during hydration (#11642)
1 year ago
Dominic Gannaway c131e6f494
Revert "chore: ensure we use event system code paths throughout" (#11644)
1 year ago
Dominic Gannaway c00d8245ee
chore: ensure we use event system code paths throughout (#11640)
1 year ago
Hunter Johnston 17b2f6215d
fix: `event.currentTarget` always being equal to `event.target` (#11419)
1 year ago
Rich Harris 521d124267
fix: allow events to continue propagating following an error (#11263)
1 year ago
Simon H f8c85d525d
fix: ensure capture events don't call delegated events (#10831)
1 year ago
Rich Harris de021aebb5
move element code (#10778)
2 years ago