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

What is Framer? Join the Community
Return to index
Ivan Afandi
Posted May 03 - Read on Facebook

Hey guys! I'm new to the new framerjs studio. Want to ask about, how to show element base on the scroll position. Like after the end of the content, i want to show some widget. Thanks all!!

2 Comments

Stephen Crowley

Hey Ivan, you can do:
ScrollableLayer.onScroll ->
#find the end scroll position
print @.scrollY
#once found let's say your desired number is 2000
If @.scrollY >= 2000
Show widget
else
Hide Widget

Sorry on my phone but let me know how it goes.

Ivan Afandi

Hey Stephen! Thanks a lot! will try it :)

Read the entire post on Facebook