I have a repeater inside a section, I have implemented a search functionality where I change the data for the repeater based on the search input, everything works fine with that part. But the section that contains the repeater keeps the same size, so when I return 2 objects from the repeater I’m left with a big gap at the bottom of the page.
I tried setting the height to auto but that keeps it at the same size it doesn’t look at the size of the repeater.
You’ll likely need to enable advanced sizing on the section and set it’s height to max-content so that regardless of the content within, it’ll always “hug the height” of it’s content
EDIT: In case anyone comes across any issues suddenly with sections not resizing to hug dynamic content properly, and you already have the content linked up - try disconnecting the repeater from the dataset, then resizing the section to the repeater, then reconnecting the repeater to the dataset. My plight with this issue seems to have been solved by doing this and has caused minimal impact to elements within and around it.
Scratch that, it fixed it for a grand total of 18 hours, and it is now gone back to having a massive blank space. It no longer is preventing this from happening.
This [Wix Studio] is far too inconsistent for a “professional product”.
Can you please explain in more detail how you set the height of a section to be “max-content” using the advanced sizing options? There is no such clear option for this, and I have so far had to mess around with the same section + repeater 5 times now, and the page keeps readjusting and leaving me with a huge blank space.