You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This proposal extends the functionality of the overflow property to support usage of scrollable values with clip (for example, overflow: scroll clip). This, among other things, affects the behavior of an element with position: sticky, and gives authors a way to ensure an axis using overflow: clip stays in place.
Thanks, good point. I think the right model is that scroll containers are now per-axis. For touch-action, the “nearest scroll container” lookup should be per-axis too: a horizontal-only scroller should be the stopping point for horizontal panning, but not for vertical panning.
In the non-scrollable value / clipped axis, the element should be transparent when finding the relevant scroller. So this possibly needs a small Pointer Events clarification and tests.
Reacted by Mustaq Ahmed, Robert Flack and Kristijan
In terms of layout, is it well defined what happens for a single-axis scroll container for things like baseline alignment? I guess we only adjust baselines if you're scrollable in the block axis?
The complexity here seems quite high and it seems it could be rather confusing for authors... Though maybe that's just temporary thing. But I get the use case. I wonder if @theres-waldo has thoughts?
Activity
smaug---- commentedon Jun 8, 2026
How does this play with touch-action?
freedebreuil commentedon Jun 17, 2026
Thanks, good point. I think the right model is that scroll containers are now per-axis. For
touch-action, the “nearest scroll container” lookup should be per-axis too: a horizontal-only scroller should be the stopping point for horizontal panning, but not for vertical panning.In the non-scrollable value / clipped axis, the element should be transparent when finding the relevant scroller. So this possibly needs a small Pointer Events clarification and tests.
emilio commentedon Nov 9, 2026
In terms of layout, is it well defined what happens for a single-axis scroll container for things like baseline alignment? I guess we only adjust baselines if you're scrollable in the block axis?
The complexity here seems quite high and it seems it could be rather confusing for authors... Though maybe that's just temporary thing. But I get the use case. I wonder if @theres-waldo has thoughts?