microsoft / fluentui-blazor

Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
https://www.fluentui-blazor.net
MIT License
3.23k stars 294 forks source link

fix: NavMenu labels do not show if navmenu is collapsed before going into mobile (using wasm template) #1958

Closed StephenOTT closed 2 weeks ago

StephenOTT commented 3 weeks ago

🐛 Bug Report

this was previously broken in https://github.com/microsoft/fluentui-blazor/issues/1183 and fixed.

But looks broken again

💻 Repro or Code Sample

Using latest release template for WASM

🤔 Expected Behavior

The labels of the menu should also show when in mobile menu view

😯 Current Behavior

Labels are hidden if they were hidden in desktop view.

brokne-nav

vnbaaij commented 2 weeks ago

Fixed for next release. I added a CSS media rule for max-width: 600px (same as used in SSR script to determine breakpoint) to always show the text then