Let ProgressBar support more use cases
See original GitHub issueI’m completely new to React so bear with me.
AFAICT, ProgressBar
only have one callback, namely onSeek
. However, I don’t want to do seeking until seek knob is released but I can’t find any means of getting that feedback? I tried to add onClick
and onMouseUp
to the ProgressBar
but apparently that does not work.
Also, to move the seek knob during seeking I need to update currentTime
– however, that field is also updated by events from my media player which effectively makes the progress position jump around. Ideally I suppose the progress meter and the knob should be separated so that progress meter can still be updated with current progress (from media player) and seek knob moved freely until released. When released, seeking would happen and progress meter is updated to match the knob.
Are there any ways around my issues? How is it supposed to be used?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Works beautifully! Thanks!
0.5.10 is out, so give it a go @pakerfeldt!