Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circle does not move despite progress bar moving #9

Closed
schisms opened this issue May 1, 2021 · 5 comments
Closed

Circle does not move despite progress bar moving #9

schisms opened this issue May 1, 2021 · 5 comments

Comments

@schisms
Copy link

schisms commented May 1, 2021

I have the ProgressBar contained a stack, and it is set to only appear when my video is paused. On pause, the progress bar does reflect the time elapsed out the total time. The highlighted portion does indicate how much time has passed.

However, the circle "thumb" is always set at 0:00.

This issue only occurs when the ProgressBar is set to display when the video is paused. If I remove this condition, the circle does follow the time passed.

@schisms
Copy link
Author

schisms commented May 1, 2021

Fixed by using Visibility widget to control appearance of ProgressBar, instead of a condition statement within the stack.

Note that the this only works if you use maintainState: true in the visibility widget.

@suragch
Copy link
Owner

suragch commented May 1, 2021

I haven't had this problem come up before. Thanks for sharing your solution. If you can share a minimally reproducible code example I could look at the cause and see if I could find a solution that doesn't require a visibility widget.

@suragch
Copy link
Owner

suragch commented Jul 20, 2021

This may be related to issue #12.

@suragch
Copy link
Owner

suragch commented Jul 30, 2021

Version 0.6.2 removes the need to maintain state, so Visibility no longer requires maintainState: true. I'm not sure how it affects your original issue with using conditionals. I think it might fix that too, since the initial thumb position is now based on the progress and total durations rather than 0.0.

@suragch
Copy link
Owner

suragch commented Aug 2, 2021

I'll close this issue for now but I can reopen it if there are any more problems related to it.

@suragch suragch closed this as completed Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants