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

What is Framer? Join the Community
Return to index
George Otsubo
Posted Mar 24 - Read on Facebook

Hello, I'm trying to fade everything out except for the current page in a page component when you swipe after a few seconds and have them fade back in when you swipe again if that makes sense? Any help will be greatly appreciated!

1 Comments

Floris Verloop

You can use a setTimeout for that → http://share.framerjs.com/kl6o7mtx10q0/

Every time the page is moved, a timeout is created to fade out the inactive pages after x amount of time. If the page component is moved before that time, the timeout is cleared and a new one is created.

Read the entire post on Facebook