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
onSlideStart is not called if the drag starts from clicking on the track or rail.
Steps to reproduce (for problems):
Bind an onSlideStart and onSlideEnd handler on a slider. Clicking on the rail or track does not call onSlideStart, but it does call onSlideEnd. This seems to be because onSlideStart is only called onMouseDown of a handle, even though a drag can start from the track itself.
Possible solution:
Not sure what the best thing to do here is, but I feel like we could just call onSlideStart in the track/rail click handler once we've moved the handles here.
Versions (for problems):
React-Compound-Slider: 2.5.0 (and most likely 3.0.0-beta.1)
The text was updated successfully, but these errors were encountered:
Problem or feature description:
onSlideStart
is not called if the drag starts from clicking on the track or rail.Steps to reproduce (for problems):
Bind an
onSlideStart
andonSlideEnd
handler on a slider. Clicking on the rail or track does not callonSlideStart
, but it does callonSlideEnd
. This seems to be becauseonSlideStart
is only calledonMouseDown
of a handle, even though a drag can start from the track itself.Possible solution:
Not sure what the best thing to do here is, but I feel like we could just call
onSlideStart
in the track/rail click handler once we've moved the handles here.Versions (for problems):
React-Compound-Slider: 2.5.0 (and most likely 3.0.0-beta.1)
The text was updated successfully, but these errors were encountered: