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.3k stars 305 forks source link

fix: FluentSelect is always open when Multiple="true" #2044

Closed Paxol closed 2 weeks ago

Paxol commented 2 weeks ago

🐛 Bug Report

FluentSelect shows as always open when Multiple="true"

💻 Repro or Code Sample

This is visible in the documentation page: https://fluentui-blazor.net/Select

🤔 Expected Behavior

It should be possible to open and close the popup with options like when Multiple is false, or at least make it obvious with an explaination in the documentation + an example with the explained behavior

🌍 Your Environment

vnbaaij commented 2 weeks ago

Unfortunately, that behavior is not supported by the underlying web component. Multiple = always open/expanded.

Paxol commented 2 weeks ago

What about the documentation part?

vnbaaij commented 2 weeks ago

What do you mean?

Paxol commented 2 weeks ago

I said in the issue that this behavior, the select always open when multiple is true, should be written in the documentation page that I linked

vnbaaij commented 2 weeks ago

I think all multiple selection examples being shown in the same way is a good indication that that is the default behavior. But I'll add a note somewhere.