Skip to content

Create option to "delay" a TransitionPresence #351

Description

@ReneDrie

In the Immersive Web version we have a useEnabledAnimation hook. These will wait for some certain value to be set to true before calling the animation setups. Ideally I think we just want to have this option with the useAnimation hooks in some ways as well. This would make it easier to delay animations while waiting for content to be loaded or something like that.

I'm not sure what would be the nicest way to implement this, perhaps something together with a TransitionPresence which is "active" by default, but you could also set it to inactive or something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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