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

What is Framer? Join the Community
Return to index
Lynn Liangying
Posted Mar 30 - Read on Facebook

Can someone help me with this:
After click on the "close friends" the details page will moves up, but after click the "events" button, nothing happens.
I put another artboard on the right, and use this code to animate it, but nothing happens:
########Swipe or click to the events page
sketch.eventsTabB.on Events.Click, (event,layer) ->
sketch.swipeableLayerC.animate
properties:
x: 0
time: 0.5
Can someone help me?
Many thanks~~

http://share.framerjs.com/lseja6nrcv3l/

1 Comments

David Louie

I think you need to animate the containing artboard, not just the scrollable layer because the containing artboard would still be offscreen.
sketch.eventsTabB.on Events.Click, (event,layer) ->
sketch.artboardC.animate #changed this to artboard
properties: { x: 0 }
time: 0.5

Read the entire post on Facebook