We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
three
@react-three/fiber
@react-three/drei
node
npm
yarn
When using a non-full screen canvas and an offset <View />, there are situations where the scene does not render.
<View />
https://github.com/zerovox/drei-view-canvas-size-bug
npm install npn run dev
I believe the bug is in this computeContainerPosition function, I'll take a look at submitting a patch for this shortly https://github.com/kmannislands/drei/blob/d0f6751b1edbfc7a27f34c61fec259e895d2b88a/src/web/View.tsx#L50-L72
computeContainerPosition
The text was updated successfully, but these errors were encountered:
Fix computeContainerPosition for small canvases, fixes pmndrs#2223
8433c25
Successfully merging a pull request may close this issue.
three
version: 0.170.0@react-three/fiber
version: 8.17.10@react-three/drei
version: 9.117.3node
version: 23.2.0npm
(oryarn
) version: 10.9.0Problem description:
When using a non-full screen canvas and an offset
<View />
, there are situations where the scene does not render.Screenshot.2024-11-19.at.03.15.25.PM.mp4
Relevant code:
https://github.com/zerovox/drei-view-canvas-size-bug
Suggested solution:
I believe the bug is in this
computeContainerPosition
function, I'll take a look at submitting a patch for this shortly https://github.com/kmannislands/drei/blob/d0f6751b1edbfc7a27f34c61fec259e895d2b88a/src/web/View.tsx#L50-L72The text was updated successfully, but these errors were encountered: