zillow / react-slider

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

How to disable a single thumb #239

Closed angelod1as closed 2 years ago

angelod1as commented 2 years ago

Description

I'm building a slider in which a single thumb needs to stay disabled and unmovable. It needs to act, also, as a barrier for other thumbs (pearling is true).

Is there a way to disable a single (or more) thumb without disabling the entire slider?

angelod1as commented 2 years ago

I found out I can use marks for this but it needs some kind of label. I'll submit a PR with these changes.

stale[bot] commented 2 years 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.

angelod1as commented 2 years ago

I won't have time to implement this, sorry.