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

Drei <Html transform /> flickering #106

Open
henriandrade opened this issue May 15, 2024 · 4 comments
Open

Drei <Html transform /> flickering #106

henriandrade opened this issue May 15, 2024 · 4 comments

Comments

@henriandrade
Copy link

React Drei component with property "transform={true}" seems to not work under react-three-map canvas.

@RodrigoHamuy
Copy link
Owner

Can you add a codesanbox to take a look? Thanks!
I suspect is related to the camera transform.

@tom-twinlabs
Copy link

I'm having a similar issue, only difference I see it without transform mode in drei/html . I made a sandbox here but I can't replicate it in the sandbox, I'll keep trying but feel free to collaborate on that sandbox

@tom-twinlabs
Copy link

drei/html does a lot of calculations with the camera transform, is than an unsafe thing to do because react-three-map is changing the transform at other times?

@RodrigoHamuy
Copy link
Owner

Yes, I guess if you use transform we may need to improve our camera matrix calculations or maybe we are not updating the viewports correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants