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

What is Framer? Join the Community
Return to index
Riccardo Buzzotta
Posted Nov 28 - Read on Facebook

Hello guys~!
I was wondering whether it is possible to simply "disable" pagination in a PageComponent (to make it behave like a simple ScrollComponent, say).

So far, my best solution was to insert a ScrollComponent that is as wide, and then disable scrollHorizontal for PageComponent. Do you know of any other possible approach?

I had look at the component's code, but I didn't see anything that could help me in this case. (https://github.com/koenbok/Framer/blob/master/framer/Components/PageComponent.coffee)

2 Comments

Sigurd Tapio Mannsåker

What's the specific problem you're trying to solve? PageComponent without pagination is basically a ScrollComponent, so I imagine disabling it isn't that common of a feature request :) do you need to switch components on the fly based on an interaction or something?

Sigurd Tapio Mannsåker

One way could be to create both components and hide the one you're not using. Then make a container for your content, and simply set its parent to scroll.content or page.content as needed to move it between them

Read the entire post on Facebook