Skip to content

[view-transitions] Expose activeViewTransition #12407

Open
@bramus

Description

@bramus

The spec refers to the active view transition which is added to the Document. However, this is not actually exposed to authors.

The React folks have asked me about this before in some conversations, and they are working around it by manually keeping track of the active view transition whenever startViewTransition is called.

I think it would make sense to add Document.activeViewTransition (and also Element.activeViewTransition for scoped transitions) for easier access.

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