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 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.: