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

🐞 Timer won't restart when opening Mail app with a mailto link and coming back #399

Open
1 task done
slizlaszlo opened this issue Jan 12, 2025 · 1 comment
Open
1 task done
Assignees
Labels
bug A verified and reproducible bug. triage Has not been reviewed yet and should not be worked on.

Comments

@slizlaszlo
Copy link

What happened?

I've experienced a strange issue when the user clicks on a mail link in our web app, it opens the Mail app and the user comes back to the web app the Idle timer don't recognise the users presence (onAction not called again) and the timer goes on until the page is reloaded or the timer counts down.

Browsers affected Chrome latest
It works fine in Arc, Firefox, Safari latest
MacOS Sequoia

Reproduction Steps

I've forked one of the examples of the IdleTimer site and added a mail link to it
https://codesandbox.io/p/sandbox/confirm-prompt-forked-2yvyzx

1. Open the sandbox in Chrome
2. The timer starts to count down
3. Click on the mail link to open the default Mail app
4. Close the Mail composer window
5. Go back to the codesandbox
6. Check if the count down stops for any mouse or keyboard event

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.

Chrome

What devices are you seeing the problem on?

Desktop

Verification

  • I have checked for existing closed issues and discussions.
@slizlaszlo slizlaszlo added bug A verified and reproducible bug. triage Has not been reviewed yet and should not be worked on. labels Jan 12, 2025
@SupremeTechnopriest
Copy link
Owner

Thanks for the report! This is a good bug. Let me look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A verified and reproducible bug. triage Has not been reviewed yet and should not be worked on.
Projects
None yet
Development

No branches or pull requests

2 participants