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

What is Framer? Join the Community
Return to index
Harshad Kulkarni
Posted Feb 15 - Read on Facebook

How do I assign a ScrollComponent to a layer imported from Sketch? Can someone please help me.


Stephen Crowley

Sorry, doing this from my phone but this should get you in the right direction.
Define your scroll component:
MyScrollLayer = new ScrollComponent
define the scroll comp. properties width/height etc.

sketchLayer.parent = MyScrollLayer.content

Harshad Kulkarni

Stephen Crowley Awesomeness. Thanks a ton Bro. :)

Read the entire post on Facebook