Currently the data capture system is relying on wheel events to determine scrolling but wheel is specific to mouse devices and will not capture scrolling on a touch device. For all devices we can use the scroll event. However, something in mouselog() might currently be breaking, at least we dont see events in the event csv when using scroll. so will need to do some debugging there.
Currently the data capture system is relying on
wheel
events to determine scrolling but wheel is specific to mouse devices and will not capture scrolling on a touch device. For all devices we can use thescroll
event. However, something inmouselog()
might currently be breaking, at least we dont see events in the event csv when using scroll. so will need to do some debugging there.See working examples in the API from MDN: https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll_event