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

What is Framer? Join the Community
Return to index
Arved Baumgärtner
Posted Oct 09 - Read on Facebook

hey framers,
i am trying to show and hide a navbar depending on the scroll.direction of a Scroll Components content.
My first approach using Utils.modulate with a stored value of scrollY did not work out well. The behaviour would like to achieve looks like this: http://share.framerjs.com/tn1zz7qjvyuj/
here it is expressed in states. Any ideas about how i can make it work with Utils.modulate?

4 Comments

Anton Jarl

Not sure if you mean like this?

http://share.framerjs.com/wi4dxvilsvva/

Anton Jarl

Oh, sorry. Saw that you wanted it on the scroll direction. Sorry

Andrew Nalband

What's wrong with having it use states?

Arved Baumgärtner

i just think it feels better Andrew Nalband. You can see the behaviour on the tabbar of safari-mobile..

Read the entire post on Facebook