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

When interacting with Dom the timers are resetting themselves #20

Open
kgrosvenor opened this issue Nov 4, 2022 · 1 comment
Open

Comments

@kgrosvenor
Copy link

Found a bug that in my UI if i interact with anything else the timer's start again. How could i stop this?

@kgrosvenor kgrosvenor changed the title When interacting with Dom timers are resetting themselves When interacting with Dom the timers are resetting themselves Nov 4, 2022
@noorzaie
Copy link
Owner

noorzaie commented Nov 4, 2022

Hi @kgrosvenor
It might be because of re-rendering the component, You may need to handle the component's lifecycle manually and prevent re-rendering unnecessary components.

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