Mastering Figma: Fix Position When Scrolling and Scroll Behavior Options

Apply scroll position to the objects within a frame: Define how objects in your frame behave when you scroll past them. Think of it like any webpage-when you browse on your phone, you can only see the content that fits the dimensions of your screen. Constraints define how an object behaves when you resize them. To ensure that each object still sits within the selected frame, check the Layers section of the left navigation panel. You can only apply overflow behavior to frames. In the Scroll behavior section, select the Overflow dropdown. Vertical scrolling allows users to swipe or scroll up and down. Horizontal scrolling allows users to swipe or scroll left and right, while maintaining their vertical position. No scrolling prevents users from scrolling in any direction.

Scroll position defines how layers in a frame behave when users scroll past them. Select an object, group, or component. In the Scroll behavior section, select the Position dropdown. Objects that scroll with parent move up and down the frame as you scroll. Use this behavior to mimic the behavior of scrolling up and down longer pages of content. Fixed objects don’t move, even as you scroll up and down. When you set an object to fixed, Figma will move it above the other layers in the frame and label them as Fixed in the Layers section of the left navigation panel.

Sticky objects will scroll at first, but become fixed once its top edge reaches the top of its parent frame. Tip: We use the terms parent, child, sibling, and top-level frame to describe relationships between objects in Figma. If the sticky object is nested within another layer in a frame, it stays within its direct parent’s bounds. Check the Layers section in the left navigation panel to see how sticky objects will stack when scrolling. Any layers below a sticky object will scroll behind it, and any layers above a sticky object will scroll in front of it.

Note: Preserving scroll position is a type of prototype state management.

Practical guidance for implementing fixed and sticky behavior

First, ensure that your frame is not under another frame. If the fixed position wasn’t letting you click it, it could be because the frame you want to fix is clipped inside another frame other than the parent frame. When you pull it out of the other frame and just left the layer under the parent frame, it immediately lets you choose the fixed position. This aligns with real-world usage where fixed elements sit above other layers in the frame.

For fixed elements, remember to select them in Prototype > Scroll Behavior > Position and set to Fixed. If Fixed cannot be selected, verify that the frame is not nested under another frame and that the element isn’t constrained by Auto Layout in a way that prevents fixed positioning. Some users report success after removing Auto Layout on the parent frame or using absolute positioning for the element. If you rely on Auto Layout for responsiveness, you may need to adopt a hybrid approach: keep Auto Layout for most content, and apply Fixed to essential overlays.

Sticky behavior is useful when you want an element to scroll with content initially but lock to the top once it reaches the frame boundary. If a sticky object is nested, it remains within its direct parent’s bounds, and its stacking order is visible in the Layers panel as you scroll. Understanding these relationships-parent, child, sibling, and top-level frame-helps predict how elements interact during scrolling.

In practice, you can have complex arrangements such as a header that scrolls until the content reaches the top, after which the header remains fixed, or a modal that scrolls above a static background. Some designers report combining fixed elements with absolute positioning or breaking up content into components to preserve both fixed behavior and responsive layout. This approach can resemble real-world apps where navigation bars stay put while content flows underneath or around them.

Note: The discussion around fixed versus scroll behavior has a lively ecosystem of tips and debates. Some users prefer keeping elements fixed at the very top of the layer stack, while others argue for more flexible z-index control to accommodate various design scenarios. The key is to choose the approach that preserves usability and visual hierarchy across devices and screen sizes.

Concrete steps to implement in Figma

  1. Select the object, group, or component you want to govern during scrolling.
  2. In the Scroll behavior section, choose the Overflow type for the frame (Vertical, Horizontal, or No Scrolling).
  3. For the desired element, use the Position dropdown to set either Scroll with parent, Fixed, or other available options.
  4. Check the Layers panel to confirm the element’s position relative to its siblings and its stacking behavior during scroll.
  5. If needed, adjust Auto Layout and constraints to ensure responsiveness while maintaining the fixed or sticky behavior.

In the example discussions, users describe practical wins and pitfalls-from frames clipping content to fixes via removing Auto Layout or using absolute positioning. These experiences reflect the iterative nature of designing scroll behaviors in Figma and the importance of testing across layouts and devices.

figma scroll behavior UI flow diagram

Related concepts and best practices

  • Always verify that the frame containing fixed elements is not nested under another frame unless intended.
  • Use sticky positioning when you want elements to become fixed after reaching the top edge of their parent frame.
  • Be mindful of Auto Layout constraints, which can constrain fixed positioning; consider alternative positioning strategies if needed.
  • Document how fixed, sticky, and scroll-with-parent behaviors interact to facilitate handoffs between designers and developers.

Sticky Scroll Explained in 3 Minutes (Framer Tutorial)

Preserving scroll position is an important prototype state management technique, enabling designers to simulate and test how interfaces behave when content scrolls. This helps UX/UI designers and Figma experts create experiences that feel natural on mobile and desktop alike.

tags: #figma #fix #position #when #scrolling