W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

Re: [csswg-drafts] [css-position] Events for stickiness changes

From: Ronny Orbach via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Sep 2017 21:51:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-331568939-1506117067-sysbot+gh@w3.org>
_Previously posted from the wrong account, sorry_

I get that :stuck is problematic and it doesn't sound like things around selectors and infinite loops are about to change, so I'd like to add my support to what Chris has offered here - JS events would allow a very quick and simple workaround for devs, and hopefully won't be hard to implement.

Pulling the `IntersectionObserver` axe is a very complicated overkill, even if it's possible.

Roman stressed that lots of times we just want to alter shadows, color etc. - Mix the browser support of sticky and IntersectionObserver and the code required and you get too much trouble to even touch the standard, I know I'd revert to scroll listeners, and it's a shame. Thanks for considering this and reading through.

-- 
GitHub Notification of comment by RonnyO
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1660#issuecomment-331568939 using your GitHub account
Received on Friday, 22 September 2017 21:51:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:38 UTC