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

Just wanted to mention that though `scroll-priority` has so far been rejected for understandable reasons, it wouldn't have even made sense for the use case provided.

The use case would require more of a "[scroll linked](https://github.com/w3c/css-houdini-drafts/issues/45#issuecomment-142773956)" relationship between the outer and inner scrollers instead of an inverse "scroll chaining" priority. In other words, **while** you scroll the inner you'd also the scroll the outer (and possibly [re-target scrolling](https://github.com/w3c/css-houdini-drafts/blob/main/scroll-customization-api/UseCases.md#re-targeting-scrolling) captured by the outer onto the inner scroller).

Example: https://jsbin.com/zefifex/edit (though this could be made cleaner if we get a [houdini scroll-customization-api](https://github.com/w3c/css-houdini-drafts/tree/main/scroll-customization-api))




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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 16 March 2022 18:48:00 UTC