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
The OpenVV library considers Element as visible even if page has no focus. So when user minify browser or goes to another tab, MRC event will fire independently. It would be more correct viewablity measure if you add focus check and reset timers when page loses focus. Focus might be added as default for all events or as a tunable option in criteria, e.g.:
criteria = {
inViewThreshold: 0.5,
timeInView: 2000,
considerFocus: true
// "true" if Document must be in focus, or "false" if focus can be ignored
};
The text was updated successfully, but these errors were encountered:
The OpenVV library considers Element as visible even if page has no focus. So when user minify browser or goes to another tab, MRC event will fire independently. It would be more correct viewablity measure if you add focus check and reset timers when page loses focus. Focus might be added as default for all events or as a tunable option in criteria, e.g.:
The text was updated successfully, but these errors were encountered: