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

What is Framer? Join the Community
Return to index
Jo Higgins
Posted Feb 01 - Read on Facebook

I am trying to get states to work with

myLayer.states.add("infocus", {scale:1.1, shadowY:20, shadowX:20, shadowBlur:20, shadowColor:"rgba(0,0,0,0.6)"})

but it keeps scaling and then after a pause, the shadow displays.

I messed around with the default animation and could see the shadow appearing at some weird coordinate off in the distance, then popping into position when the scale had finished.

Any insights would be great!


Benjamin Den Boer

Hey Jo Higgins, could you share your prototype or try to replicate the issue in a new example for us to look at?

Jo Higgins

Hi Benjamin Den Boer unfortunately the share button isn't working for me, maybe my work network. Attaching an image which may show my problem. The shadow is lagging and I'm wondering if it's not part of the state properties. I'm a designer and only a beginner in coding.

Read the entire post on Facebook