Is there a way to get a container's size?

I have a container that change size depending on how much text is input into it from a database. E.g. It is much bigger when it displays a paragraph rather than just a sentence.

I have several containers in a repeater and I want the repeater to display as many containers as it can before it goes off the bottom of the page and the user will need to scroll down. In order to do this I would need a way for the code to be able to work out the size of the containers. Is there a .size() function or something I can use?

You currently can’t get the size of an element.
However, in your case your can put something at the bottom of the container and use onViewportLeave to detect when it goes out of the screen.

Yeah, that’s really a pitty, that you can’t…
-resize
-move
or create elements by code in Wix/Corvid​:disappointed_relieved::sleepy:

Thank you.

How can change container size into wix