W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-position] Sticky positioning with transform between it and reference box (#3186)

From: Martin Hejtmanek via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 May 2020 10:22:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-632007689-1590056531-sysbot+gh@w3.org>
Hi, I am one of the guys who just found the easter egg (I guess).

My scenario is sticky positioning relatively to the scrolling container other than the `body` using a specific nested combination of positioning. 


But when you uncomment `transform: translateY(200px);` in CSS (which applies to one of the parents between the scrolling container and the sticky combo), the sticky positioning gets totally busted by that.

Is it the same problem you are discussing above?

Can it be fixed somehow while maintaining the `transform`? (we need it to properly position the overlay in which the editor is placed)

GitHub Notification of comment by kenticomartinh
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3186#issuecomment-632007689 using your GitHub account
Received on Thursday, 21 May 2020 10:22:14 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC