W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [css-overflow] Top/bottom banners scrolling in and out as the pages scrolls (was:proposal: scroll-index (priority)) (#5670)

From: Robert Flack via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Jul 2021 16:27:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-887655710-1627403221-sysbot+gh@w3.org>
FYI it's possible to do this sort of effect with a slightly stickier version of position: sticky (e.g. preserves its last sticky position unless pushed by sticky constraints):
https://jsbin.com/jucurup/7/edit?html,css,js,output

We could consider some way of supporting a lazy sticky position / sticky position with hysteresis as one possible solution.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 July 2021 16:27:08 UTC

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