Claude explains it and later suggests a JavaScript workaround:

When you add overflow-x: auto to a container, it creates a new block formatting context. This traps position: sticky elements inside that container - they can only stick within the container's boundaries, not to the viewport.

This is a fundamental CSS limitation

Reply to this note

Please Login to reply.

Discussion

No replies yet.