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

What is Framer? Join the Community
Return to index
Lennart Schoors
Posted Jun 20 - Read on Facebook

The move event isn't triggered when using scrollToPoint. Is that intentional, and if so, how do I get around this?

(I'm moving a logo when you scroll a layer, and clicking the logo scrolls the layer back, but the logo doesn't move back to the original position too.)


Benjamin Den Boer

Hey Lennart Schoors - this is true. The scrollTo methods (point, layer) effectively animate the content of the ScrollComponent. This means that you can listen to the Animation events as well. For example:

scroll.content.on Events.AnimationEnd, → ...

Ron Sparks

Yeah I'm working on this as well.
Because I have a move events and one of part of the event triggers a scrollTo... but I want to actively get the y value of the scrollComponent...

I'll post if I figure that out.

Read the entire post on Facebook