question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Let ProgressBar support more use cases

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pakerfeldtcommented, Feb 9, 2017

Works beautifully! Thanks!

0reactions
alexanderwallincommented, Feb 8, 2017

0.5.10 is out, so give it a go @pakerfeldt!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using a Progress Bar (UI) in SaaS-Types and Examples
A progress bar (UI) is a tool to boost engagement and reduce friction in SaaS. Here's how you should use them, and how...
Read more >
10 inspiring progress bars that delight users - Justinmind
Progress bars set expectations, give an impression of activity and can calm users. Here are 10 that do it right.
Read more >
A Complete Guide to Using Python Progress Bars - Built In
A progress bar in Python indicates whether the code is working or stuck in a loop due to an error ... Let's take...
Read more >
A Complete Guide to Using Progress Bars in Python
Let's take a look at some of them. A simple progress bar that is filled with hash. We first import the Bar class...
Read more >
Why are Progress Bars Always Wrong? Progress ... - YouTube
Progress Bar Example in C // Progress bars are extremely common and ... how you can use them to become stronger students and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found