Check if an ancestor element has overflow set (e.g. overflow:hidden
); try toggling it. You may have to inspect the DOM tree higher than you expect =).
This may affect your position:sticky
on a descendant element.
Check if an ancestor element has overflow set (e.g. overflow:hidden
); try toggling it. You may have to inspect the DOM tree higher than you expect =).
This may affect your position:sticky
on a descendant element.