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

What is Framer? Join the Community
Return to index
Natalia Breadbasket
Posted Feb 20 - Read on Facebook

I have a following problem. I have an element in my prototype that is positioned some distance from the. I need for this element to stick to the top of the device screen when I scroll down. This means that I need to figure out 2 things:
1. How to find out when my prototype has been scrolled to a certain position in comparison to the screen.
2. How to make the menu stick to the top of the screen.

Any ideas? The element that I'd like to stick to the top on scrolling down is the one with white bg below hero image.

2 Comments

Antti Nieminen

Something like this might work (not sure if this is the best way to do it though):

Natalia Breadbasket

Spot on Antti! Thanks. Case closed :)

Read the entire post on Facebook