What happened?
I'm using the IdleTimer component to control the session but there is a weird behavior happening, basically every time I try to switch section on my app the user gets idle. It starts working as expected but when it's necessary to make some redirection the user gets idle automatically. Unfortunately I can't use a higher version because my project stil uses react v16.
Reproduction Steps
Use the v4 of react-idle-timer and try to make any redirection, the user will get idle instantly.
Relevant log output
No response
Screenshots or Additional Context
No response
Module Version
4..
What browsers are you seeing the problem on? Select all that apply.
Chrome
What devices are you seeing the problem on?
Desktop
Verification
What happened?
I'm using the IdleTimer component to control the session but there is a weird behavior happening, basically every time I try to switch section on my app the user gets idle. It starts working as expected but when it's necessary to make some redirection the user gets idle automatically. Unfortunately I can't use a higher version because my project stil uses react v16.
Reproduction Steps
Relevant log output
No response
Screenshots or Additional Context
No response
Module Version
4..
What browsers are you seeing the problem on? Select all that apply.
Chrome
What devices are you seeing the problem on?
Desktop
Verification