Skip to content

Is it possible to set a mandatory minimum gap between a two thumbs slider range (without pushy)? #167

Answered by simeydotme
matrs asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @matrs :)
I believe this is currently on the next branch (not advisable to use it right now) which I mentioned here

the relevant properties I'm adding are draggy, rangeGapMin and rangeGapMax ... but to make them able to move it still would have to be pushy=true , otherwise they would just block each other from moving at all (try disabling pushy in the demo below to see what I mean)

here's a WIP example;
https://svelte.dev/playground/faf769868ea04db7bd21c196f527c15f?version=5.23.0

I'm currently writing a large suite of tests but hope to release it soon :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matrs
Comment options

Answer selected by matrs
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