OrbitControls zoom functionality not working properly in iPad Pro or iPhone with offscreen canvas worker

Hi,

I am trying to follow this reference for using offscreen canvas worker in my project Three.js - Offscreen Canvas

but when I open this url in iPad Pro or iPhone , Orbitcontrols zoom functionality or touch functionality breaking…can anyone please help me on the same?

Hey! I managed to fix it!

Late to the party because I’ve just got my hands on this. I need Offscreen Canvas + OrbitControls in a website I’m maintaining as well, and found out the same problem.

Here’s the pull request I’ve created with the fixes for it. Somewhere around ~4-6 lines of code.