-
Notifications
You must be signed in to change notification settings - Fork 24
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
Updating initial time won't update the timer #77
Comments
Hey @eddsaura, Thanks for opening this issue. Could you create a reproductible example of this issue, for example on https://stackblitz.com/? Thanks. |
Hi @thibaultboursier, I have a similar issue as @eddsaura I guess. Issue 1: click "Update initial to 20", see nothing happens. Expected from my side: What do you think? Thanks! |
Hello @Pawelsas, Thanks for your comment and your demo. I'm going to check that. |
Sorry! I finally had to do it myself. Thanks for answering tho! <3 |
same issue, any workaround? |
This issue has been fixed on the 'develop' branch (although a reset is required before a new initialTime is reflected). Unfortunately there is no release, but I've used it without issue. |
+1. Thank you for raising, @eddsaura! Came here to discuss the same issue. My use case is building a Pomodoro timer in React where I want to reset the timer back to various |
Hey wassup,
I am changing the initial time when a state is changing ( so it should be re rendernig ) but is not updating to the new time.
The logic behind is, we have an event with start date and end date. So, when the event is not started it shows the timer to the start of the event, and when the event is running it should show the time left until the end of said event.
Also, if you are in another tab the countdown seems to stop, it could be easily fixable checking the time again, but since changing the initial time won't update it's difficult.
The text was updated successfully, but these errors were encountered: