zillow / react-slider

Accessible, CSS agnostic, slider component for React.
https://zillow.github.io/react-slider
MIT License
883 stars 231 forks source link

Offset on single thumb #273

Open amanzrx4 opened 1 year ago

amanzrx4 commented 1 year ago

Hi, thanks for this library, really came handy for the project i'm building.

Well I was wondering is there any way to have an offset value on slider? Like I've set the min=0 max=100 and i want the thumb to move only till 90 after that it should not slide, leaving 10 as the offset distance between the end and he thumb, this is possible when we have two thumbs(using minDistance) but not with one, is there any way to achieve ?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.