You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
Thanks
The text was updated successfully, but these errors were encountered: