Skip to content

[css-view-transitions-2] Figure out a way to make hit-testing work on live (new) elements during a view transition #10930

Open
@noamr

Description

@noamr

When a view transition is ongoing, the new element is not rendered in its place, but its rendered image is projected into the ::view-transition-new pseudo-element.
However, this is uni-directional: hit testing on the pseudo element is not forwarded to the actual element, and the originating element itself is treated as invisible (same as visibility: hidden or pointer-events: none).

Forwarding the events by default might be confusing, as the coordinates of the original event will not always match the coordinates of the element, e.g. in the case where the ::view-transition-group animation is overridden.

But perhaps there was a way to automatically forward these events, displaying both the original and the mapped coordinates?

@vmpstr @khushalsagar @nt1m

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions