Skip to content

[css-view-transitions-1] UA CSS should size ::view-transition to 0x0 #8278

@khushalsagar

Description

@khushalsagar

Related to the discussion in #7797.

::view-transition pseudo-element is created for all transitions and sized to the snapshot viewport. This means all user input will resolve to the document element by default (since it will hit this pseudo-element). This doesn't make sense for cases where the root element is not participating in the transition.

UA CSS should add pointer-events: none to this element to prevent it from participating in hit-testing.

Note: This issue is about the default behaviour. Developer CSS can toggle the value of pointer-events.

@jakearchibald

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