You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to trigger a ZoomOutDown to a component when a button fires. When I change the playState from "paused" to "running", nothing happens. Can you help how to do this?
in order to do that, you should only render the Animate component if the state is equal running in a declarative way, for now, there is no playState prop, although this is a valid idea to implement. will definitely add it to the backlog.
We have a bug to control animation props when using stacked animations, on your example, you are passing the animation like: Animation={[ZoomOutDown]} try this way: Animation={ZoomOutDown}, not setting it as an array will only render the animation component instead of the stack animation component and the switch between paused or running will work as expected.
dielduarte
changed the title
Trigger animation when playState changes from "paused" to "running"
Trigger animation when playState changes from "paused" to "running" - stacked component issues
Dec 13, 2020
dielduarte
changed the title
Trigger animation when playState changes from "paused" to "running" - stacked component issues
Trigger animation when playState changes from "paused" to "running" - stacked component
Dec 13, 2020
@dielduarte, thanks for following this up. I would try this and report it back. Btw, it made me go deeper in reactjs animation and transition group. I would try to contribute to this project if I could.
I want to trigger a ZoomOutDown to a component when a button fires. When I change the playState from "paused" to "running", nothing happens. Can you help how to do this?
`
The text was updated successfully, but these errors were encountered: