[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help
Current behavior
Whatever timeout is configured in settimeout the idle period and timeout did not end as per configuration. It has been observed that the last expiry value is not calculating it properly. Sometimes it did not fire timeout event after it occurs first time. This is mostly occuring when you set the large number in that timeout period.
Expected behavior
The timeout should happen whatever is configured in setTimeout.
Minimal reproduction of the problem with instructions
Settimeout for 60 second interval and 60 seconds in setIdle. The timeout occurs at anytime or sometimes did not occur at all.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
OS windows-10
@ng-idle version: 2.x
2.0.0-beta.12
Angular version: 2.x
Angular-4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
All browser
I'm submitting a ... (check one with "x")
Current behavior Whatever timeout is configured in settimeout the idle period and timeout did not end as per configuration. It has been observed that the last expiry value is not calculating it properly. Sometimes it did not fire timeout event after it occurs first time. This is mostly occuring when you set the large number in that timeout period.
Expected behavior
The timeout should happen whatever is configured in setTimeout.
Minimal reproduction of the problem with instructions Settimeout for 60 second interval and 60 seconds in setIdle. The timeout occurs at anytime or sometimes did not occur at all.
What is the motivation / use case for changing the behavior?
Please tell us about your environment: OS windows-10
@ng-idle version: 2.x 2.0.0-beta.12
Angular version: 2.x Angular-4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] All browser
Language: [all | TypeScript X.X | ES6/7 | ES5] Typescript
Node:
node --version
=