Comments (4)
I've seen this behavior as well. It seems to be a bug in Chrome (https://code.google.com/p/chromium/issues/detail?id=170631), but I've also seen the behavior in IE.
I modified my local copy to only reset the timer on mousemove if the mouse has moved more than 5 pixels. This helped a lot, but I'm still seeing inconsistencies across computers, even with the same OS and browser.
from ng-idle.
I have heard of mousemove
bugs now and again, but I've never actually seen them myself (I figured there were mitigating circumstance, input device drivers or something like that). I've been working on Chrome under OSX and Windows and have not seen it (on a MacBook and also a Dell), so it'll be hard for me to fix it without reproducing it. Assuming it is the continuous mousemove
feedback, of course.
@nh0815, if you're willing to share your changes, I'd like to take a look at how you solved it. It seems reasonable to follow your line of thought and just record the last coords if the interrupting event is mousemove
and compare to current, throwing the event out if they are the same.
from ng-idle.
Now that I think of it, computer 2 uses a special crazy gaming mouse (its very sensitive). That could be the root of the problem. I'm going to ask my colleague to switch to a basic mouse and see if that does anything.
EDIT: Nevermind! The mouse had nothing to do with it
from ng-idle.
Drivers still, maybe? I also wonder if there is some software running that tries to keep the computer from going idle and showing the screen saver by artificially reporting mouse input. Or something like that.
Well, anyways, we would still need to solve the issue. @nh0815's suggestion sounds lightweight and unobtrusive enough, I just wish I could see it fixed rather than just assume it's fixed when the change is made.
from ng-idle.
Related Issues (20)
- [Question] Keepalive event in multiple tabs
- Issue in multiple tabs HOT 2
- Angular 5 - generic component child used in several main component not working
- Not want to reset timer in case of user intervention in app HOT 1
- Any plans to upgrade to Angular 6 HOT 1
- AngularJs - Unknown provider : IdleProvider HOT 1
- ng-Idle/core onIdleStart and onTimout function executing multiple times
- Having issues with ng-idle/core onIdleEnd & Mat-Dialog HOT 1
- keepalive onPingResponse subscribe response doesnt work right
- set url string parameter of http() dynamically
- Using JS Alert does not timeout until OK is Clicked HOT 1
- Key Management: Hardcoded Encryption Key HOT 1
- Select box (with multiple selections) not working properly
- unable to mock inactivity time with cypress clock/tick()
- How to use localstorageservice to handle in multiple tabs in the same browser HOT 1
- Incompatible with Angular 10 HOT 1
- Don't work with IFRAME HOT 3
- Keepalive interval not respected
- Implement a privacy preserving mode functionality avoiding usage of the persistent browser localStorage
- ng-idle not working for iOS in Ionic cordova
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-idle.