adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!
https://jsmastery.pro
5.81k stars 1.29k forks source link

Scrolling on mobile on top of canvas #61

Open lucylanlou opened 1 year ago

lucylanlou commented 1 year ago

On mobile, when someone is scrolling on top of a canvas, they're unable to scroll the page. Is there a way to be able to scroll normally on top of the canvas while maintaining the ability to rotate the 3d object? Maybe if the scroll direction is up and down it scrolls the page and if it's horizontal it rotates the object? It makes the mobile experience a bit annoying as whole parts of the screen cannot be used to scroll the page.

hugoalval-code commented 8 months ago

Any updates on this? I have this issue as well

MeggaBug commented 7 months ago

Also have this issue. Instead of scrolling down the computer gets moved around.