pmndrs / drei

🥉 useful helpers for react-three-fiber
https://docs.pmnd.rs/drei
MIT License
8.43k stars 708 forks source link

Fix computeContainerPosition for small canvases, fixes #2223 #2224

Open zerovox opened 3 days ago

zerovox commented 3 days ago

Fixes https://github.com/pmndrs/drei/issues/2223

See issue for video of before.

After:

https://github.com/user-attachments/assets/4e80237b-75af-46ed-b08d-4104b434f20d

vercel[bot] commented 3 days ago

@zerovox is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

codesandbox-ci[bot] commented 3 days ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.