pmndrs / react-three-next

React Three Fiber, Threejs, Nextjs starter
https://react-three-next.vercel.app/
MIT License
2.46k stars 332 forks source link

pointerdown event not work for gl.domElement #147

Closed hosybinhkog closed 10 months ago

hosybinhkog commented 11 months ago

` <div ref={ref} style={{ position: 'relative', width: ' 100%', height: '100%', overflow: 'auto', touchAction: 'auto', }}

{children} <Scene style={{ position: 'fixed', top: 0, left: 0, width: '100vw', height: '100vh', pointerEvents: 'none', }} eventSource={ref} eventPrefix='client' />

`

Because ponter-events: 'none'.