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

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