Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Time issue with Scroll #36

Closed
asim-bashir-confiz opened this issue Nov 14, 2014 · 4 comments
Closed

Time issue with Scroll #36

asim-bashir-confiz opened this issue Nov 14, 2014 · 4 comments
Assignees
Milestone

Comments

@asim-bashir-confiz
Copy link

I am using this module in our mobile. I have set timeout for 30seconds. Timeout alert appears even if user keeps scrolling for 30 minutes. And timeout alert doesn't hide if I scroll up/down during that time. Timeout alert disappears if only tap not scroll using swipe/drag gestures. Any help to this?

@grbsk
Copy link
Owner

grbsk commented Nov 14, 2014

What device and browser are you using?

By default, these are the events it monitors to detect an interruption (an action that indicates the user is not idle): mousemove keydown DOMMouseScroll mousewheel mousedown touchstart

Perhaps touchmove will help. You can change the interrupt events using (the poorly named) $idleProvider.activeOn() method (see: https://github.com/HackedByChinese/ng-idle/wiki/%24idle-and-%24idleprovider#idleprovider). If it seems reasonable, I will add touchmove or replace touchstart with it as the default.

@asim-bashir-confiz
Copy link
Author

I am developing a hybrid app for windows8 tablets using cordova. By default, windows8 platform uses IE10.
I added touchmove and it worked perfectly.

@grbsk grbsk added this to the 1.0.0 milestone Nov 17, 2014
@grbsk grbsk self-assigned this Nov 17, 2014
@grbsk
Copy link
Owner

grbsk commented Nov 17, 2014

Cool. I'll add touchmove to the default list of events and then close the issue.

@asim-bashir-confiz
Copy link
Author

Thanks.

@grbsk grbsk closed this as completed in 67b4cbc Nov 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants