You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the answer there:
"it tells the browser to capture the event on dispatch, even if that event does not normally bubble, like change, focus, and scroll."
When I pass 'scroll' to the events list, it does not work.
I read in this stackoverflow: https://stackoverflow.com/a/30723677/1222743
You have to pass true to the addEventListener.
According to the answer there:
"it tells the browser to capture the event on dispatch, even if that event does not normally bubble, like change, focus, and scroll."
A workaround I've found is to do this:
document.addEventListener('scroll', idle.idlenessEventsHandler, true);
But it would be nice for the library to support it.
The text was updated successfully, but these errors were encountered: