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

What is Framer? Join the Community
Return to index
Johnny Dayday
Posted Feb 10 - Read on Facebook

Hi everyone:), I was thinking to give a more dedicated effect to a layer when users click on it, but I had some difficulties in doing so. Basically, I was trying to make the layer smaller when someone is clicking it, and make the layer lager when the 'Click' is done, just like a jumping effect, but I found the final result(the layer) cannot always full fill the screen, I was wondering if someone could please help me out (apologies for my poor English expression here..) Thank you very much! Have a good day!

2 Comments

Patryk Adaś

try layerA.animate("stateA") instead of stateCycle and TapStart, Tap instead onTouchStart, onClick

Marc Krenn

Hey Johnny,

1) Include `scale: 1` in the definition of the full-state (see screenshot)

2) `card1.onClick` may work, but just to be on the safe side, I'd advice using `card1.onTouchEnd` instead.

3) Next time, please include the link to the framer.cloud-project so we can help you faster and more easily :)

https://framer.cloud/iQvdZ

Read the entire post on Facebook