Open zArubaru opened 1 month ago
2. Describe the bug
When resizing the canvas, LayoutCamera displays the scene correctly. But pointer events are treated like the meshes exist within the original area of the canvas.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug This was forked (updated packages to latest) and simplified from the Layout animations example on the framer motion website: https://codesandbox.io/p/sandbox/framer-motion-3d-layoutcamera-forked-5lxprc
4. Steps to reproduce Steps to reproduce the behavior:
<Camera />
5. Expected behavior We should get "hovering over sphere" in console, when hovering over black ball, in both states.
7. Environment details MacOS / Arc (Chromium Webkit)
2. Describe the bug
When resizing the canvas, LayoutCamera displays the scene correctly. But pointer events are treated like the meshes exist within the original area of the canvas.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug This was forked (updated packages to latest) and simplified from the Layout animations example on the framer motion website: https://codesandbox.io/p/sandbox/framer-motion-3d-layoutcamera-forked-5lxprc
4. Steps to reproduce Steps to reproduce the behavior:
<Camera />
, and see that then meshes get pointer events correctly.5. Expected behavior We should get "hovering over sphere" in console, when hovering over black ball, in both states.
7. Environment details MacOS / Arc (Chromium Webkit)