I have a RepeatingGroup that I’d like to scroll ONLY when the amount of content exceeds the bounds of the group. I can’t see any option for this, so when my group renders, it has vertical scrollbars no matter how much content is in the group:
I don’t think this solution will work as it doesn’t take into account the height of the browser window. How will I know when x number of rows needs to scroll?
If you want to use css instead of two rg then use overflow-y: hidden !important;
but you still need to determine when to do this yourself, in your original question you don’t say anything about dynamic height.
Yes. I will have javascript running on the page that dynamically sets the height of the rg when the browser window is resized. What I’m trying to achieve is exactly like the Trello vertical swim lanes:
For example if your want to the cell height to be 100px and your viewport height is 800px and your rg only has 8 cells make it fixed. If you have more than 8 make it scrollable.