VTK.js Unable to preventDefault inside passive event listener

I’m getting this error in console from VTK-js using a fullScreenRenderer when dragging around with my mouse. I can see the error on live examples as well: vtk.js

RenderWindowInteractor.js:26 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/feature/5093566007214080
preventDefault @ RenderWindowInteractor.js:26
publicAPI.handleTouchMove @ RenderWindowInteractor.js:604

I don’t remember seeing this before, but I haven’t upgraded. Could it be a regression of some kind? Can I suppress this error?

Environment: Chrome Linux 99.


AFAIK this is due to browsers moving scroll (touch and I think mouse wheel) off of the main thread, so that blocking scroll code doesn’t block anymore. This warning is ignorable; I think not calling preventDefault should do the trick, but we would need to verify.

Addressed here: Touch support with the widget manager by floryst · Pull Request #2348 · Kitware/vtk-js · GitHub