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

What is Framer? Join the Community
Return to index
Johannes Eckert
Posted Oct 15 - Read on Facebook

I'm sure there's an easy answer that i'm not seeing: how do I make the layer scrollable again? the content is taller than the mask layer »scroll«, in code:
sketch.article.scroll = true
does not make the layer scrollable

11 Comments

Andreas Wahlström

Try grouping the masked items

Johannes Eckert

does not make a difference

Benjamin Den Boer

The article layer must have a superLayer that is smaller. Then, you can target that superLayer and make it scrollable.

Johannes Eckert

it sounds like this should work?

Benjamin Den Boer

Yes, as long as the height of the articleContent exceeds that of the "scroll" mask.

Johannes Eckert

I see what's going on here — it's an issue with Sketch: I have an iPhone artboard. the exported articleContent image is clipped by the artboard, not it's actual height, so it does not exceed it's parents height. Bug? Or should I not use artboards (which I can just delete for my case)

Koen Bok

Could you file it in sketch-framer on github? Thanks.

Abdou Ghr

sincerely i tried everything but it is not working on windows - framer2...any help guys?

Andreas Wahlström

Is nexus smaller than back?

Abdou Ghr

yes

Arlo Jamrog

Abdou Ghr try nexus.addSubLayer(PSD["back"]) instead of what you've got on line 8

Read the entire post on Facebook