Closed deema089786 closed 2 weeks ago
UPD: I found what causes that, but I do not know why and how :)
Im using MUI 6 in my app design system/layout. And this effect happens when I add to the page Typography
component with variants: h1,h3,h4,h5. When I use just the same code and set variant
prop to h2 or h6, or anything else what is not h1,h3,h4,h5 - everthing is ok
What is your question:
Im building the scene with a phone model. I want to place
Html
component on the model screen to display some content. When I addHtml
component into the "screen" mesh, it positioned correctly, but content insideHtml
tag is looks like it has some depth and displayed lower. Here is code and screenshots:https://github.com/pmndrs/drei/assets/15146009/013a4847-358b-48f9-97e5-a8d3e01b6f6d
@react-three/drei: 9.107.0 Is it expected behaviour, and if yes, is it possible to remove this effect?