I'd like to have an overlay, that is "somewhere potentially deep" in the DOM.
There seems to be a problem or something I am doing wrong with position: sticky
though.
If the overlay element is a child of a "position-sticky element", then other "position-sticky elements" are not covered correctly.
I created a Codepen demonstrating the problem.
Is there a reasonable explanation or solution/workaround for this?