Smooth Scroller moves item with fixed positioning outside its container

I noticed that with Smooth Scroller enabled, an element with position: fixed is moved outside of its container element in the DOM. Is there a reason for this?

For semantics, accesibility, and SEO, I think it would be best to keep such elements in their containers.

Switching to Lenis will help, if youโ€™re using the GSAP one :wink:


Thanks, that was it