Re: [csswg-drafts] [css3 positioning] support position:sticky inside an overflow:hidden|auto on general parents

@jonjohnjohnson my previous comment was that I have `overflow-x: hidden;` on the body and html tag, and that prevents `position: sticky;` from working on anything. I did just realize that if I put the `overflow-x: hidden;` on only the body or the html (but not BOTH), then it works (this is in Chrome on a Mac). So, maybe I can actually adjust my CSS to get the best of both worlds. It's just odd that preventing the body and html from horizontally scrolling means that I can no longer get elements to stick to the top of the screen. I could see `overflow-y: hidden;` causing problems, but not `overflow-x: hidden;`.

-- 
GitHub Notification of comment by natematykiewicz
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/865#issuecomment-379106819 using your GitHub account

Received on Thursday, 5 April 2018 23:33:06 UTC