You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after this change https://github.com/pmndrs/drei/issues/1695 HTML transform does not work anymore: the positioning of the HTML element is way off, it seems the transform: perspective prop is just ignored.
As soon as I use the browsers inspector and replace it again with the perspective prop as it was before, it's working as intended.
I tested this in different browsers (Chrome, Safari, Edge, Firefox), it's the same everywhere.
Is this just me?
Do I need to change something else so I can use the HTML transform as before?
I'm confused about this change anyways .. this just replaced perspective with transform: perspective, but they are not the same thing!
Perspective is applied to the parent to create a 3D space, while transform: perspective(...) is applied to the child element itself as part of its transformation.
three
version: 0.158.0@react-three/fiber
version: 8.15.11@react-three/drei
version: 9.88.15Hi,
after this change https://github.com/pmndrs/drei/issues/1695 HTML transform does not work anymore: the positioning of the HTML element is way off, it seems the transform: perspective prop is just ignored.
As soon as I use the browsers inspector and replace it again with the perspective prop as it was before, it's working as intended.
I tested this in different browsers (Chrome, Safari, Edge, Firefox), it's the same everywhere.
Is this just me?
Do I need to change something else so I can use the HTML transform as before?
That's how I use the Html component:
The text was updated successfully, but these errors were encountered: