How to Make a Repeater Scrollable Inside a Box with Fixed Height?

Hi Wix Community,

I’m trying to create a layout where a Repeater is placed inside a Box element. The goal is to have the Box maintain a fixed height, and when the Repeater loads data that exceeds the Box’s height, a vertical scrollbar should appear so that users can scroll through the Repeater content.

Current Issue:
Whenever the Repeater finishes loading data, it automatically expands the Box’s height to fit all items. This causes the Box’s fixed height setting to be ignored, and no scrollbar appears.

Questions:

  1. Is there a way to force the Repeater to stay within the Box’s fixed height and enable scrolling?

  2. Are there any Wix code or settings solutions to make this happen, rather than manually limiting the number of items?

  3. Has anyone successfully implemented a scrollable Repeater inside a fixed-height Box in Wix Studio?

Any guidance or code examples would be greatly appreciated!

Thank you in advance.

Definitely possible :slight_smile:

Steps to achieve:

  • Add a container
  • Enable advanced sixing for the container, and set height to desired height (e.g. 250px)
  • Scroll down and set the row to Auto (so it respects the height of 250px that was set)
  • Set the container overflow property to scroll
  • Add the repeater inside