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? http://screencast.com/t/hwKjeSKw

http://share.framerjs.com/sok8bhayjeb3/

2 Comments

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? http://screencast.com/t/Kl49k4WwF

Read the entire post on Facebook