Main content partly hidden behind sidebar when sidebar changes size

Hi,

I have a problem exactly the same as this Vue thread. But in Blazor.  How to move target when content in sidebar changes width | Vue Forums | Syncfusion®

When i expand node and the sidebar grows in width, the main content width does not update so partly gets hidden by sidebar.

In the thread above in Vue you suggest to use sidebar.refresh(). 

But in Blazor there is no such option. Can this option be introduced? Or is there another way around to refresh the width of the main content when sidebar width changes? I have tried many other things to no avail


Thanks

Fergus


3 Replies

PM Prasanth Madhaiyan Syncfusion Team January 20, 2025 12:49 PM UTC

Hi Fergus,


Greetings from Syncfusion support.


Based on the shared details, we have checked and considered the reported scenario “The main content width is not adjusted when dynamically changing the Blazor Sidebar component's width ” as bug on our end. The fix for this issue will be included in the weekly patch release scheduled for February 4, 2025.


You can track the status of the fix through the following link.


https://www.syncfusion.com/feedback/64781/the-main-content-width-is-not-adjusted-when-dynamically-changing-the-blazor


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Prasanth Madhaiyan.



PM Prasanth Madhaiyan Syncfusion Team February 13, 2025 02:17 PM UTC

Hi Fergus,


Sorry for the inconvenience caused.

We have implemented the fix internally, and it is currently in the testing phase. It will be included in the upcoming weekly patch release on February 18, 2025. We appreciate your patience.

Regards,

Prasanth Madhaiyan.



PM Prasanth Madhaiyan Syncfusion Team February 19, 2025 06:07 AM UTC

Hi Fergus,


Thanks for your patience.


We are glad to announce that our patch release (V28.2.6) has been rolled out successfully.  The issue where “The main content width is not adjusted when dynamically changing the Blazor Sidebar component's width” has been resolved in this release.


To access this fix, we suggest you update the package to 28.2.6 and we include the sample in the latest version for your reference.


Sample : Attached as a zip file


Feedback : https://www.syncfusion.com/feedback/64781/the-main-content-width-is-not-adjusted-when-dynamically-changing-the-blazor


Release notes: https://blazor.syncfusion.com/documentation/release-notes/28.2.6?type=all#sidebar


Root cause : This issue occurs because the case for updating the width value property dynamically in the Blazor Sidebar component is not handled.


Regards,

Prasanth Madhaiyan.


Attachment: BlazorDotNet9SidebarSample_b5278264.zip

Loader.
Up arrow icon