Skip to content

idleTimeoutWarning stops giving counter when tab is not focused on or in background #219

@akvaliya

Description

@akvaliya

Describe the bug
After idle is triggered and countdown starts, it works fine if you are on that tab. But if you are switched to another tab then after few seconds behavior is really inconsistent. It stops giving events after and then direct timedout gets fired.

Image

To Reproduce
Once idle is trigged then just switch and move to separate tab.

Expected behavior
It should keep giving events till timed out

Please tell us about your environment

  • Mobile or Desktop: Desktop
  • Browser: Chrome
  • Version:
  • Angular version: 19
  • NodeJS version: 22
  • Language (TypeScript x.x, ES5, ES2015, etc.): Typescript 5.x

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions