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

What is Framer? Join the Community
Return to index
Albin Martinsson
Posted Jan 09 - Read on Facebook

I'm sitting here trying to get a scrollview to work. I'm using masks from sketch but I can't get it to work. Can you guys tell me what I'm doing wrong?
My code looks like this but the scroll still won't work properly. I can only scroll for about 1/10 of the gradient rectangle.

untitledLayers.container.scroll = true

Here's a screenshot of the folderstructure.

Help would be greatly appreciated!


Johannes Eckert

the artboard is cropping the gradient, sketch cuts the scrolling content. try without the artboard. I got stuck with this too! I think Ale Muñoz knows about this

Ale Muñoz

Right, the artboard will crop its contents. We could maybe make an exception for already-masked elements, but currently the best solution is to simply use a group instead of an artboard to contain your artwork.

Read the entire post on Facebook