You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timer is starting when you move your mouse into the browser even though timer.start() was not called and startManually prop is true. timer.reset() was called in the mount. To fix, I can update my index.js to the React v18 default way. This is just sample code. In my current project, I cannot update to React v18.
Reproduction Steps
1. Use React v17
2. call timer.reset() in componentDidMount
3. move mouse inside browser
4. the timer will start running
...
Relevant log output
No response
Screenshots or Additional Context
No response
Module Version
5.7.2
What browsers are you seeing the problem on? Select all that apply.
No response
What devices are you seeing the problem on?
No response
Verification
I have checked for existing closed issues and discussions.
The text was updated successfully, but these errors were encountered:
rpc5255
added
bug
A verified and reproducible bug.
triage
Has not been reviewed yet and should not be worked on.
labels
Jan 31, 2024
What happened?
https://codesandbox.io/p/sandbox/gallant-worker-wwwyv2
The timer is starting when you move your mouse into the browser even though
timer.start()
was not called andstartManually
prop is true.timer.reset()
was called in the mount. To fix, I can update my index.js to the React v18 default way. This is just sample code. In my current project, I cannot update to React v18.Reproduction Steps
Relevant log output
No response
Screenshots or Additional Context
No response
Module Version
5.7.2
What browsers are you seeing the problem on? Select all that apply.
No response
What devices are you seeing the problem on?
No response
Verification
The text was updated successfully, but these errors were encountered: