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

What is Framer? Join the Community
Return to index
Julius Koroll
Posted Feb 01 - Read on Facebook

Hey guys, I want to implement Framer more into my Web-stuff. First: I implemented the .wrap() but it doesn't work with a mouse-scroll, you have to click while scrolling. How can I change that? Second: I want to listen to the position of my scroll and hide/view a scroll-down-header after 100px or so. THANKS so much for every suggestion! <3

1 Comments

Steve Ruiz

Hey Julius, for the first bit, you'll need to set yourScrollComponent.mouseWheelEnabled = true. See: https://framer.com/docs/#scroll.mouseWheelEnabled

The second is trickier, but you can set an event listener (yourScrollComponent.on Events.Scroll) and compare the value of its scroll location against a static value to trigger your animation.

Read the entire post on Facebook