[css-overscroll] position: sticky
elements should not move during overscroll when in stuck state
#8309
Labels
position: sticky
elements should not move during overscroll when in stuck state
#8309
Originally made a comment here, but seemed to get lost.
Problem
When combining
position: fixed
andposition: sticky
elements together, the latter moves during overscroll despite being in the "stuck" or "fixed" state, causing the issues seen in the demos below. I have noticed this on several sites where elements that should remain together now detach and overlap in undesirable ways when mixing each value.Demos
Screen.Recording.2023-01-14.at.5.32.46.am.mov
Screen.Recording.2023-01-14.at.5.34.28.am.mov
The text was updated successfully, but these errors were encountered: