Skip to content

[css-overscroll] the target of overscroll-behavior should be scrolling box instead of scroll container? #6523

Open
@hiikezoe

Description

@hiikezoe

An example;

<div style="height: 20vh; overflow: hidden; overscroll-behavior: none;">
  <div>overflow: hidden; overscroll-behavior: none;</div>
  <div style="height: 100vh; width: 100%;"></div>
</div>
<div style="height: 200vh; width: 100%;"></div>

In my understandings with the current spec text (i.e. "applied to scroll container"), scrolling on the overflow: hidden element shouldn't be handed off to the outer one, but in fact both Chrome and Firefox hand off it to the outer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions