Skip to content

OnTimerStart freezes if tab/window focus switched #166

@AdityaJaiswal1

Description

@AdityaJaiswal1

I am using 2.2.7 package version due to my app is in version angular 8. And I am subscribed to the onTimerStart method but if the window/tab focus is switched to some other tab or window. The count value doesn't return any value and sometime it delays which eventually results in incorrect value of the idle time. It started to work fine when I switch back to the tab/window. Any workaround to this as I wanted to show counter to my user if they are and in X seconds they will be logged out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions