W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

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

From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
Date: Sat, 24 Feb 2018 00:43:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-368179935-1519433013-sysbot+gh@w3.org>
@natematykiewicz though not ideal, I believe all current browser versions support sticky behavior if you alter your DOM structure so that the scrolling element is inside the body/html, filling out the screen. This does make it so browsers that resize the viewport on scrolling of the `document.scrollingElement` won't resize, such as ios safari. Notice the example code @SimplyPhy provided with for his table utility. Hope that helps until the spec is figured out.

GitHub Notification of comment by jonjohnjohnson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/865#issuecomment-368179935 using your GitHub account
Received on Saturday, 24 February 2018 00:43:38 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC