neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.76k stars 149 forks source link

Portal.view.home.parts.Helix: the 3d engine (transform-style: preserve 3d;) sometimes manages to break out of their scope #5466

Closed tobiu closed 1 week ago

tobiu commented 1 month ago

@maxrahder @ExtAnimal

if i recall it correctly, we already had something similar with the helix inside the covid app. Screenshot 2024-06-23 at 19 35 23

inside the LivePreview, the DOM is deeply(!) nested: Screenshot 2024-06-23 at 19 39 42

i think we need to at least use a div with position: relative; and overflow: hidden; for the preview and inside a wrapper div with position: absolute; filling the full space. less reflows and scoping are crucial here.

thoughts?

tobiu commented 1 week ago

already fixed.