Shawn
Shawn
I'm experiencing a similar issue with the system going to sleep. idle occurs, laptop sleeps, laptop wakes and then onIdleEnd does not fire. To duplicate: 1 - Set my idle...
Ok, so immediately after posting my issue with onIdleEnd I figured out my mistake. If I didn't post, I'd have never figured it out. There is a timeout after onIdleStart...
By default when it goes idle it then starts a timeout timer. If there is no activity within that timer then it exits. Meaning, it will never pickup again and...
Right before I started the watch. It's a configuration for that particular idle service. When the user goes idle should you timeout or wait for them to become active again....
constructor(@Inject('GlobalIdle') private _idle: Idle) .... const documnetInterruptsOnly = DEFAULT_INTERRUPTSOURCES.slice(0, 1); this._idle.setInterrupts(documnetInterruptsOnly); this._idle.onIdleEnd.subscribe(() => { .... }); this._idle.onIdleStart.subscribe(() => { .... }); this._idle.setTimeout(false); // this is the line that I was...
My workaround for now is to call setOpenState specifically when the search occurs. @ViewChild("searchBox") searchBox; optionsLookup(s, n): Promise { this.searchBox.dropdownService.setOpenState(true); return this._userService .searchUsers(s) .toPromise(); }
I used this page to test and it appears to work in both IE 11 and Edge. https://davidebove.com/blog/2016/05/05/target_blank-the-vulnerability-in-your-browser/ According to can I use it says not supported, but they do...