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

What is Framer? Join the Community
Return to index
Didi Medina
Posted Mar 24 - Read on Facebook

any way to capture the scroll position for the content of a scroll component while it's scrolling?

I want to do a "thing" where, if position = x do this etc. #magic #boom

What I've tried so far:

scroll = new ScrollComponent
...

scroll.onScroll ->
print scroll.y

For some reason the returned value doesn't change as I scroll.

Anyone capable of shedding some light on this?

Cheers!

2 Comments

George Kedenburg III

Try print scroll.ScrollY

Cemre Güngör

scroll.content.y

Read the entire post on Facebook