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

What is Framer? Join the Community
Return to index
Daniel Lee
Posted Jun 27 - Read on Facebook

Hey guys, I'm still running into a problem with using a scoll component with a imported PSD. It doesn't have anything to do with layers going off screen and expanding the PSD canvas. When I apply a scroll component onto an imported layer. Instead of scroll the layer, it scrolls a mask or another generated layer on top of the photoshop layer. Attached is a simply example of the problem I am running into. The file also has the PSD. Can anyone help me?

4 Comments

Daniel Lee

When I am applying a scroll component onto an imported layer, instead of scrolling the layer ... *

Balraj Chana

You're targeting the wrong group in Framer, just simply replace 'test1Layers.red' with 'test1Layers.bg'.

Daniel Lee

Hey! Thank you That works. Can you explain why that works? Sorry for the simple questions. I guess in my head I would assume to move the photoshop layer I created by targeting it with its' label. Do I have to target its' super layer? Just trying to understand the logic.

Balraj Chana

Hey Daniel, that's right. When you wrap a group inside a ScrollComponent, it will insert itself in-between the content and its super layer (http://framerjs.com/docs/#scroll.scrollcomponent). For it to work, you need to target the group (super layer) which 'contains' the content and not target the content itself. Hope that explains it!

Read the entire post on Facebook