Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Find a better way to reset the refresh timer #2

Open
adamsiembida opened this issue Aug 20, 2017 · 0 comments
Open

Find a better way to reset the refresh timer #2

adamsiembida opened this issue Aug 20, 2017 · 0 comments

Comments

@adamsiembida
Copy link
Owner

At the moment, to reset the refresh timer bar, the CSS animation gets disabled, then the width is set to zero. In order to start the timer, the animation is enabled and then the timer is set to the full value.

The problem comes about that if you don't add a delay before starting the timer (after resetting it to zero), the timer will just stay at the maximum width and won't animate.

There is probably a more reliable way of doing the reset timer that doesn't involve timer delays. So, find a better way to reset the refresh timer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant