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

What is Framer? Join the Community
Return to index
Charlie Sneath
Posted May 07 - Read on Facebook

Is it necessary to create a new ScrollComponent before using ScrollComponent.wrap()?

Or should work with just:

scroll = ScrollComponent.wrap(sketch.content)

5 Comments

Koen Bok

You don't have to create it. Just use it like you type above.

Charlie Sneath

Koen Bok got it -- not acting as expected, see here: http://cl.ly/image/2A1Z2G2G0924/Image%202015-05-07%20at%202.59.35%20PM.png

Koen Bok

It looks like it should work. Could you update studio to latest and try it in a fresh project?

Koen Bok
Charlie Sneath

was doing a whole bunch of stuff wrong with masked layers in my Sketch file, the template was a big help. thanks!

Read the entire post on Facebook