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
Could there be a on:input event implemented in the Slider component. I'm running into problems where on:change gets fired when the user moves the slider, and when the slider value changes. I only want the event to fire when the user moves the slider.
We're looking to standardize events (see #1621) and it probably makes sense to forward the native change event if one exists, rather than dispatch it manually. Let us know if you're willing to contribute a fix, otherwise we'll have this ready for v1.
Fixes#1643
The dispatched `on:change` event in `Slider` only fires when the slider thumb is released. `on:input` fires when actively dragging the thumb, and should fire on every increment (e.g., 1, 2, 3).
Could there be a
on:input
event implemented in the Slider component. I'm running into problems where on:change gets fired when the user moves the slider, and when the slider value changes. I only want the event to fire when the user moves the slider.I recreated a demo here:
https://svelte.dev/repl/10aa153589364fddbccb7ec765bde60e?version=3.55.1
Hope it's clear enough, thank you!
The text was updated successfully, but these errors were encountered: