Skip to content

Review mouseover behavior

Latest
Compare
Choose a tag to compare
@atabel atabel released this 20 Oct 16:20
· 8 commits to master since this release

Main change:

From this release, the activityDetector does not transition form 'idle' to 'active' on 'mouseover' event.
To make this configurable, the new version includes a new config param:

  • ignoredEventsWhenIdle: list of events to ignore in idle state. By default: ['mousemove']

This is a blacklist of event which don't make the activityDetector transition back to 'active' from 'idle'.

Other changes:

Event listeners aren't executed in different tasks (with setTimeout(listener, 0) anymore). Now all the listeners are executed synchronously.