Skip to content
New issue

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

<Html/> object scrolling bug #2093

Open
ntg7creation opened this issue Sep 13, 2024 · 0 comments
Open

<Html/> object scrolling bug #2093

ntg7creation opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ntg7creation
Copy link

  • three version: 0.167.1
  • @react-three/fiber version: 8.16.8
  • @react-three/drei version: 9.108
  • node version: 20.11.1
  • npm (or yarn) version: 10.2.4

Problem description:

I have an object with some text in it
I just need it to be in the scene but it keeps scrolling up (Im trying to have it in a fixed location)

in a different place in my code, I have
a
if I disable the ScrollControls everything is fine
but I cannot seem to be able to have it not effect the object

Relevant code:

https://codesandbox.io/p/sandbox/cocky-paper-lm69jj?file=%2Fsrc%2Findex.jsx&from-embed=

Suggested solution:

I'm thinking I may need to place the HTML in a different Layer?
I don't really know why its being effected when everything else is not effected

@ntg7creation ntg7creation added the bug Something isn't working label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant