Skip to main content

Is it possible to add a top margin to a sticky element or component while scrolling?


In the scroll behavior position, there is a sticky stay at the top edge, but I don’t want it to stick on the top of the screen; I might need a margin or stick to an element while scrolling.


Thanks

Super easy, just create a frame that is the size of the margin from the top. Check out my Prototyping Tips & Hacks file for an example and other useful tips: https://figma.fun/GfJsF7 (page name: Sticky Element Margin)


Thanks @Gleb yup that’s what I have thought 🙂 , though they don’t have it on the app itself, hopefully it is under development or future update 👍


Reply