[x] 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
Clicking on <item-main> toggles the view of <item-expanded>
This works.
However, after I click on <item-main>, 5000ms later, the IDLE_START event is dispatched and the DOM updates and the <item-expanded> disappears. (however, item.expanded is still set to true...)
Expected behavior
Clicking on <item-main> toggles the view of <item-expanded> and it should not disappear after 5000ms
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
I don't know why the UI changes even though the core object used by ngIf doesn't change...
Please tell us about your environment:
Running on mac
NPM = 4.1.2
NODE = 7.5.0
Angular = 2.2.4
@ng-idle version: 2.0.0-beta.4
Angular version: 2.2.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 ]
I'm submitting a ... (check one with "x")
Current behavior I have a component like this:
Clicking on
<item-main>
toggles the view of<item-expanded>
This works.However, after I click on
<item-main>
, 5000ms later, theIDLE_START
event is dispatched and the DOM updates and the<item-expanded>
disappears. (however,item.expanded
is still set totrue
...)Expected behavior Clicking on
<item-main>
toggles the view of<item-expanded>
and it should not disappear after 5000msMinimal reproduction of the problem with instructions
Our package.json is:
What is the motivation / use case for changing the behavior?
I don't know why the UI changes even though the core object used by ngIf doesn't change...
Please tell us about your environment:
Running on mac NPM = 4.1.2 NODE = 7.5.0 Angular = 2.2.4
@ng-idle version: 2.0.0-beta.4
Angular version: 2.2.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 ]
Language: [TypeScript]
Node:
node --version
=