Skip to content

How do I get the onValueChange only when value was changed by the Slider itself? #1098

Discussion options

You must be logged in to vote

This can be implemented in userland code. Not something we want to add to Zag.js

You might want to control both components' onValueChange and sync them to the same state values, them track the onValueChange for the slider.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by juliomuhlbauer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants