Apply css style touchAction "none" on mesh #1723
-
Hello, I am using @react-three/fiber in combination with @use-gesture/react. use-gesture tells me the following: I tried to apply this option to the mesh. Somehow it does not have any affect. What do I miss? Lukas |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Meshes (and other three objects) don't have styles or DOM properties; they live in your scene which is then rendered to your canvas. It's the canvas you should apply that style to. |
Beta Was this translation helpful? Give feedback.
Meshes (and other three objects) don't have styles or DOM properties; they live in your scene which is then rendered to your canvas.
It's the canvas you should apply that style to.