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

What is Framer? Join the Community
Return to index
Andrew Cunliffe
Posted May 02 - Read on Facebook

Hey Frameristas,

Does anyone know how to hide the grey background when a Framer Flows overlay is not as tall or wide as the canvas?

9 Comments

Jordan Robert Dobson

Do you know how to select the active scroll component?

If so target it's content property backgroundColor.

pseudo code...

activeScroll.content.backgroundColor = ""

Andrew Cunliffe

Hey Jordan Robert Dobson can you point me to a place to learn more about selecting the active scroll component?

Andrew Cunliffe

I figured it out

Andrew Cunliffe

s.whatIsLink.onClick ->
flow.showOverlayBottom(s.rand04Over)
overlay = flow.children[0]
overlay.backgroundColor = "transparent"

Jordan Robert Dobson

Here's what you need.

Jordan Robert Dobson

You'll want to make sure it actually has a scroll component.

Jordan Robert Dobson
Jordan Robert Dobson

So then... once you have the scrollcomponent... you can access its content layer...

flow._wrappedLayer(flow.current).content.backgroundColor = ""

Andrew Cunliffe

Jordan Robert Dobson Thank you!

Read the entire post on Facebook