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

What is Framer? Join the Community
Return to index
Nick Bewley
Posted Jul 13 - Read on Facebook

Got one for the coffee cats: Say you have a scrollComponent housing 10 cards. On click you want to expand the height of the clicked card. This is no problem, but then you realize that you need to animate the y of the cards that follow (every object in the array after the one that you clicked) so that the layers don't overlap.

This is where I am stuck.. Any ideas that could help? Thanks for any input.

3 Comments

Nick Bewley

Thanks Balraj. However, I don't think the solution is applicable here, since this method uses copy() and a modal display, whereas I'm looking to keep the current layer and move everything that follows it. Thanks for any suggestions.

Nick Bewley

Figured it out. This one was a pain. Solution: http://share.framerjs.com/ji22nrii891n/

Read the entire post on Facebook