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

What is Framer? Join the Community
Return to index
Alberto Moro
Posted Jul 03 - Read on Facebook

Hey folks! Very basic question here.
If I create a pageComponent and I add a couple of pages to it, is it possible to temporary disable the swipe between the pages?
"scrollHorizontal: false" locks the very left and the very right border but doesn't do it. Here's the link if you want to take a look.
http://share.framerjs.com/lwr9tregaq4u/
Thanks!

9 Comments

Rory Smyth

You could force the content.x position on scroll

http://share.framerjs.com/nz4emzwdkaxr/

Alberto Moro

Thanks Rory. It's very close to what I am trying to do but as you can see the forcing works from the second swipe on.
Umh....

Rory Smyth

Ah so it does

Alberto Moro

Yeah..

Rory Smyth

if you find a solution, let me know. I was trying to get this working a few days ago, but came up with nothing

Alberto Moro

Of course Rory, hopefully soon!

Danny White

Could you call a Utils.delay and then nest a scroll.speedX = 0 within it?

Alberto Moro

Danny is there any tutorial you can point me to, please? At the moment I don't know how to use Utils.delay and what exactly it does.

Danny White
Read the entire post on Facebook