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

What is Framer? Join the Community
Return to index
Michael Middleditch
Posted Feb 04 - Read on Facebook

Hey - I'm making a desktop prototype from imported graphics, it's set to full screen - How do I set browser default scroll behaviour? All the scroll component info I've read suggests setting a device height width etc but obviously a browser window is moveable - can someone point me in the right direction - I just want vertical scrolling. The page is one big screen grab of a webpage and a small working prototype component in the middle. Or would I be better embedding it in html or something?

4 Comments

Ben Rodenhäuser

Try 'scroll = ScrollComponent.wrap(myLayer)', where myLayer contains the stuff you want to make scrollable.

Ben Rodenhäuser

There is also a scroll component example which might be helpful: http://framerjs.com/examples/preview/#scrolling-basics.framer. As you can see in the example, the scroll component is more like a kind of viewport constraining what portion of your content is visible at any given time.

Michael Middleditch

Ok thanks. I thought there might be a quick way to use the browser's native scrolling so I the behaviour is natural as doing user testing soon.

Michael Middleditch

thanks guys - that helps, I guess I need to put all my content in a ScrollComponent.

Read the entire post on Facebook