Skip to content

<Timeline /> playState does not work when inside <Reveal /> #35

Description

@capsudo

I can get to control <Timeline /> when placed inside a <Reveal />, I also try to pass playState prop on reveal itself since

The Reveal component is basically an Intersection Observer and a Timeline component combined.

source: https://bitworking.github.io/react-gsap/src-components-reveal

However playState is not a prop of Reveal so this does not work.

My use case is that I need to wait for all the elements of the animation to be ready before starting the animation.

As a workaround I am controlling the animation manually using a mutation observer.

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

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions