Changing dimensions of a view in an accordion

Hello all,

I am trying to use an accordion to display data that belong to different categories in separate tables. At the moment, I have a view which essentially just contains a table, and I am using that view in my accordion. Sometimes there are only a few rows in the table, so there is a lot of extra space, and other times there are more rows in the table, and the view needs to be scrolled inside the accordion to see all of it.

Is there a way to change the height of the each instance of the view in the accordion so that it shrinks to get rid of the extra space, or grows so that the table doesn’t need to be scrolled?

Have you tried adding

overflow: hidden

to the style for the embedded views in the accordion?

It may not be the answer for this particular scenario but that has helped us in the past for something similar

1 Like

I haven’t gotten this to work with the accordion yet, but I just used it with a flex repeater and it worked great. Thanks