Blazor Side bar is not static

Im having an issue with the sidebar not staying static. It is wanting to scroll with the BodyContent. I used the reference Sidebar menu in your demo for reference.

and then the content is scrollable, the sidebar scrolls.. What setting do i make it static?

1 Reply 1 reply marked as answer

SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team November 16, 2020 06:06 AM UTC

Hi Trevor, 
 
Greetings from Syncfusion support. 
 
We have validated your reported problem with Sidebar menu sample from Sample Browser. We have set position as absolute to the Sidebar element in the sample styles, this causes your reported problem. Please, add the following styles in your application to fullfil your expected requirement. 
 
.e-sidebar-absolute { 
        position: fixed; 
    } 
 
    .e-sidebar.sidebar-menu { 
        top: 50px; 
    } 
 
 
For your convenience, we have attached the sample with the above solution. Please, download it from the following link. 
 
 
Please, check out the following links to know more about SF Blazor Sidebar. 
 
 
 
 
API Reference: 
 
 
Please, let us know if you need any further assistance. 
 
Regards, 
Shameer Ali Baig S. 


Marked as answer
Loader.
Up arrow icon