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

What is Framer? Join the Community
Return to index
Valery Bella Mariti
Posted Jun 23 - Read on Facebook

I am trying to create a scroll, where am I going wrong??
HELP

5 Comments

Bart Simons

You have no variable named myScroll in your code. You named it scrollComp earlier.

Valery Bella Mariti

OK that I have changed...but the overlay is the only one that scrolls

Bart Simons

I can't see the rest of your code so it's a bit hard to see what's going wrong. The layer you want to scroll should have scrollComp as it's parent. Check out this article: https://blog.framer.com/framer-cheat-sheet-scroll-components-25825be636ae

Valery Bella Mariti

This is the rest of the code

Cédric Magnin

You have two ScrollComponent with 2 different bames (ScrollComp and scrollComp). myScroll that you are calling does not exist.

And you must add your Artboard to your scroll :
Artboard.parent = ScrollComp

Read the entire post on Facebook