vikramlearning / blazorbootstrap

An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.
https://docs.blazorbootstrap.com/
Apache License 2.0
670 stars 32 forks source link

Sidebar Inside a Component #822

Closed wowraam closed 1 month ago

wowraam commented 1 month ago

Dear Vikram, Firstly, Thank you for the wonderful work. I just started using blazorbootstrap based on Sidebar2 example.

As soon as I add it to my code, noticed that it is always showing mobile menu. I tried passing isMobile false using additionalattributes but still its same. can you help?

here is the code. <Sidebar2 Href="/" IconName="IconName.Folder" Title="Study Name" BadgeText="status" AdditionalAttributes="@(new Dictionary<string, object> { { "collapseNavMenu", "false"}, { "collapseSidebar", "false"}, { "isMobile", "false"}, })" DataProvider="Sidebar2DataProvider" />

Here is the screenshot.

image

gvreddy04 commented 1 month ago

@wowraam Thank you for using BlazorBootstrap. Please share a sample GitHub repo with minimal steps to reproduce the issue.

wowraam commented 1 month ago

Closing this issue. Issue was with existing css and js files which were customized.