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

What is Framer? Join the Community
Return to index
Patrick Keenan
Posted Jun 27 - Read on Facebook

Is there a way to trigger the scrollend event? The situation is I have a page component in a scroll component. If the page is scrolled horizontally more than 30px I want to end the vertical scrolling component. Direction lock makes it so vertical scrolling is blocked, so both components become really sticky.



Koen Bok

This might not be the best idea, but without seeing the code I can't really judge :-) You can do it like this: `scroller.emit(Events.ScrollEnd)`.

Jonas Treub

Or do you just wanna make the content layer stop scrolling?

If so:

Patrick Keenan

This is great, I actually had to do both. I have 2 scroll views that are tied to one another, that was the goal. Works beautifully!! Thanks

Read the entire post on Facebook