Page height automatic adjustment when filtering

Hello dear fellow Wixers

I have a question and I hope someone knows the answer! On my site, I have a dataset displayed in a repeater on one of my pages. I have a selection tag connected to filter the dataset. When a filter is selected it only displays a few items from the dataset. And here the problem arises. The height of the page does NOT adjust dynamically to the data displayed. Thus I have a huge gap / extra space at the buttom of my page every time a filter is chosen. Is there any way to avoid this? So that the page height automatically adjusts to items displayed?

I’m using Wix Editor

Thank you!

1 Like

Hi,
Did you find a solution?
I fixed mine by setting the height to auto on the parent container and the repeater positioned to “pinned” to it stays at the top.

1 Like

The height of the page is dependent on how you created the page. If you manually adjusted the height of the page instead of allowing the page to re-size while you were adding the elements, then the page will stay that size.

You can rebuild it:

Strip for the search elements.
Strip for the repeater.
Blank strip afterwards.
Add the repeater to the strip.
Do not resize the strip.
Connect to the repeater to the dataset.
Let the strip re-size according to the number of items visible in the repeater.

Now try your search function. The repeater section should auto resize accordingly.

2 Likes

Thank you so much! Huge help

1 Like

has anyone dealt with this with Wix Studio and found a solution?