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

What is Framer? Join the Community
Return to index
Jon Madison
Posted May 20 - Read on Facebook

Hi! I'm working on an animation that needs to take place after ScrollComponent.scrollToLayer is complete, or even being able to listen when the layers change due to scroll events started by scrollToLayer. unfortunately I haven't observed scrollToLayer a) triggering any onScroll events b) onScrollAnimationEnd being called after a scrollToLayer call. I only see these events fire when i manually scroll. How can i know when a scrollToLayer animation is done, or otherwise tap into scrolling/change events when i called scrollToLayer? (i also tried onAnimationEnd, and the .on "change:*" events

1 Comments

Jon Madison

found something here:

ScrollComponent.content.on "change:point", ->

bam.

Read the entire post on Facebook