How to have dynamic height of sidebar

How can I have the sidebar height be dynamic? I'm using an accordion in the sidebar and when there is too much content, everything is getting cut off and I can't scroll and further to see the hidden content.

Image_6025_1742224783275



1 Reply

PM Prasanth Madhaiyan Syncfusion Team March 18, 2025 10:41 AM UTC

Hi Joe Sperlak,


Greetings from Syncfusion support.


Based on the shared details, we understand that your requirement is to adjust the height of the Blazor Sidebar component based on the height of its child content. However, the height of the Blazor Sidebar component is determined by the height of its main content, which is the default behavior of the component.

To meet your requirement, you can either set a static height for the Sidebar component class or adjust the height of the main content area accordingly.

Try out the shared details and let us know if you need any further assistance.

Regards,

Prasanth Madhaiyan.


Loader.
Up arrow icon