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

Mouse clicks are not counted #163

Open
berlicon opened this issue Sep 20, 2023 · 0 comments
Open

Mouse clicks are not counted #163

berlicon opened this issue Sep 20, 2023 · 0 comments

Comments

@berlicon
Copy link

User can click mouse buttons - but tool does not recognize it as activity. Usecase: I setup idle period as 1min. Then I idle 30 sec and click mouse on button which async execute some action without refreshing page. I did not move mouse and mouse was over button. But after 30 sec idle tool execute action "Time is out" and unlogin user. It is a bug.

Workaround: subscribe to mouse clicks and force restart service:

const mouseUps = fromEvent(window, 'mouseup');
mouseUps.forEach(() => {
this.idleService.startWatching();
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant