-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi,
I'm using react-range for an audio range with one handle for the start, one for the end, and one for the playhead. Start and end cannot overlap, and playhead must be between start and end. But I would like start and end to be able to push the playhead around. eg. If start is dragged past where playhead is, playhead moves with it so it also increases, but never falls behind start and neither can go past end.
Is this something I could achieve with the current functionality?
The other options I have considered are:
- Allow overlap and manually check for collisions and repositioning of playhead on change.
- Separate playhead from the start and end range and have playhead listen for changes to start and end to change its position if needed.
Thanks
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested