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

What is Framer? Join the Community
Return to index
Dmitry Sholkov
Posted Jun 22 - Read on Facebook

Hey guys, do you guys have any tips how to enable Mouse-wheel on page component?

We are currently trying to build a scroll-component that checks the delta of a scroll and snaps page component to the next page, but it gets really complicated and doesn't work as nice as with a mouse drag.

Thanks in advance!

2 Comments

Floris Verloop

You could snap to the closes page when the ScrollEnd event fires, something like this → http://share.framerjs.com/i9mqzyz175xh/

Dmitry Sholkov

Thank Floris Verloop! Do you think there is an easy way to limit mousescroll so you cannot scroll-past pages?

Basically what we trying to achieve is to snap to the next page once per scroll. Also it seems like scrollspeed / dragspeed doesn't effect it if we want mouse-wheel to scroll page component.

Read the entire post on Facebook