
Why does position: sticky silently stop working?
An ancestor with overflow: hidden becomes the sticky element's scroll container. That container never scrolls, so the sticky child has nothing to stick to and scrolls away with the page instead. Nothing errors and no warning appears. Check every ancestor for overflow-hidden before touching the sticky element's own CSS.