-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sidebar is hidden by default and nav items are not visible #751
Comments
@Geetha-Ravindran Thank you for using BlazorBootstrap. Please share a screenshot for better understanding your issue. Versions (please complete the following information):
Sample code |
@gvreddy04 I am also experiencing this issue. .NET Version : 8 |
@Cjoshua2 @Geetha-Ravindran Please share a screen recording for better understanding of the issue. Also share the following details: Browser: |
I have the same experience, the menu does not render unless you shrink the browser down, open the hamburger. I've taken the out of the box Blazor Server App template and replaced the NavMenu with the Sidebar2 example code from here to reproduce the problem: https://demos.blazorbootstrap.com/sidebar2 .NET Version: .NET 8 |
@Geetha-Ravindran @sys-bh @Cjoshua2 Thank you for using BlazorBootstrap. We will prioritize this issue and include it in the 3.0.0 release. |
@Geetha-Ravindran @sys-bh @Cjoshua2 Can you attach a screen recording of the issue? |
https://www.loom.com/share/8fb3d01871ab40a4ba38401067eb15c2?sid=30daf06c-d05d-4716-936e-f932eb92deca
Thanks,
Ben
…________________________________
Benjamin Hobgood | Chief Technology Officer, SySys Corp. | +1 303.835.0004 x109
From: Vikram Reddy ***@***.***>
Sent: Tuesday, August 20, 2024 5:09 AM
To: vikramlearning/blazorbootstrap ***@***.***>
Cc: Ben Hobgood ***@***.***>; Mention ***@***.***>
Subject: Re: [vikramlearning/blazorbootstrap] Sidebar is hidden by default and nav items are not visible (Issue #751)
@Geetha-Ravindran<https://github.com/Geetha-Ravindran> @sys-bh<https://github.com/sys-bh> @Cjoshua2<https://github.com/Cjoshua2> Can you attach a screen recording of the issue?
—
Reply to this email directly, view it on GitHub<#751 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQLCOW3ND6MXENGFVTKI2A3ZSMPTZAVCNFSM6AAAAABJGCZGRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJYGU4TEMRQGM>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
This message is for the designated recipient only and contains privileged, proprietary, and otherwise private information belonging to SySys® Corporation. If you are not the intended recipient, notify the sender immediately and delete the original. Any unauthorized use of this and any related communication is prohibited. SySys® Corporation electronically archives all outgoing and incoming e-mails and are subject to review and/or disclosure to someone other than the recipient.
|
@sys-bh This is very helpful. Thanks for your time. |
@sys-bh Please try the following sample code and let me know. Before:After:MainLayout.razor @inherits LayoutComponentBase
<div class="bb-page">
<LeftMenu @rendermode="InteractiveServer" />
<main>
<div class="bb-top-row px-4 d-flex justify-content-end">
<a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
</div>
<article class="content px-4">
<div class="py-2">@Body</div>
</article>
</main>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div> Screenshot |
I get the same problem. Menu does not show initially but does after I shrink the browser, click the hamberger My left menu: <Sidebar2 Href="/" |
@sys-bh Please share a GitHub repo to reproduce the issue with minimal code. I'll investigate. |
The bug is related to misplacing the css links in files in App.razor. To reproduce the behaviror move the Blazor generated styles.css above the bootstrap and blazor bootstrap css links.
|
@gvreddy04, thanks for your time helping to uncover the problem. Once I built out a minimal code sample, rulling out browser & version issues I compared the placement of resources in the sample to my app and uncovered the problem as described above. |
@sys-bh Please let me know if you have any other questions or need further assistance. I'll close this bug now. |
When application is displayed in full screen, the sidebar is not visible. So the nav items are hidden too. We have to minimise the application to see the hamburger menu and then click on it to see all the nav items. Any way to keep the hamburger menu visible always?
The text was updated successfully, but these errors were encountered: