Is it possible to set a mandatory minimum gap between a two thumbs slider range (without pushy
)?
#167
-
Hey, first, thanks for this package, it's been very valuable to me. When using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @matrs :) the relevant properties I'm adding are here's a WIP example; I'm currently writing a large suite of tests but hope to release it soon :) |
Beta Was this translation helpful? Give feedback.
Hi @matrs :)
I believe this is currently on the
next
branch (not advisable to use it right now) which I mentioned herethe relevant properties I'm adding are
draggy
,rangeGapMin
andrangeGapMax
... but to make them able to move it still would have to bepushy=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 :)