Skip to content

Ignore layout shifts due to user-initiated content dragging #18

@philipwalton

Description

@philipwalton

Many web applications make content resizable/draggable in a way that's triggered by the mousemove event, which at the moment Chrome implementation of the LayoutInstability API ignores w.r.t the hasRecentInput flag.

Could we spec this in a way such that mouse/pointer move events aren't ignored from being included in layout shift attribution if they're in between mouse/point down and up events?

Here's an example of a site that exhibits this problem: https://philipwalton.github.io/responsive-components/ (and a video of it happening).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions