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

What is Framer? Join the Community
Return to index
Jeff Lin
Posted Nov 07 - Read on Facebook

Hey Framers,
So I have a PageComponent at the top of the screen, and a ScrollComponent at the lower part of the screen, and I am using Utils.modulate to control the X of the PageComponent as I scroll the ScrollComponent. But for some reason, if I scroll too fast, the PageComponent will lag for like 2 seconds (00:03). Anyone know how to solve this? Thanks!

http://share.framerjs.com/z50b282py5ko/

3 Comments

George Kedenburg III

remove the conditional on the "change:y" event. if you print scroll.content.y there you'll see that when you scroll fast youre cause the y value to go above 0, which means your modulate is not happening

George Kedenburg III

here's the fixed project: http://share.framerjs.com/ijj7ccarqt6e/

Jeff Lin

Thanks!! :) George Kedenburg III

Read the entire post on Facebook