This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Aalok Trivedi
Posted Jun 02 - Read on Facebook

hey all. Not sure if this is a bug or expected behavior for animationEnd, but I can't figure out why this is happening.

I have a layer (recSmallContainer) change states (opacity: 1) when the collapse icon is tapped and on recCardContainer animationEnd.

I want the reverse to happen (default) when recSmallContainer is tapped. However, for some reason it's still listening for the .animationEnd event from above and changing state again. Why is this happening?


Jordan Robert Dobson

It stays registered forever you should put a conditional in the end event?

Aalok Trivedi

hmm, ok. Not quite sure what you mean. like this?

Read the entire post on Facebook