Unable to preventDefault inside passive event listener

I’m Seeing this error come up in chrome when I use

        this.app.touch.on(pc.EVENT_TOUCHMOVE, this.onTouchMove, this);        

It seems to be only on the move, not on the down or up.

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL> playcanvas-stable.min.js:897 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

Thanks

Phil

2 Likes