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

What is Framer? Join the Community
Return to index
Adam Noffsinger
Posted Mar 02 - Read on Facebook

I noticed there's no event to detect animationEnd when animating between pages in a page component. Has anyone found a solution to detect when a page has finished animating into the viewport based on a page.snapToNextPage() function? Page.horizontalPageIndex() seems to update before the animation completes.

3 Comments

Ben Rodenhäuser

you can listen for AnimationDidEnd on the page.content: http://share.framerjs.com/p9ggwusvqhes/

Jordan Robert Dobson

Yep... Ben is correct. :D

Adam Noffsinger

Thanks Ben!

Read the entire post on Facebook