Skip to content
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

fix: [Width less than 250px does not take effect] in [FluentCombobox and FluentSelect] #1274

Closed
sswi opened this issue Jan 7, 2024 · 1 comment

Comments

@sswi
Copy link

sswi commented Jan 7, 2024

🐛 Bug Report

FluentSelect and FluentSelect components do not take effect when the Width property is less than 250px

💻 Repro or Code Sample

     <div style="display:grid;grid-template-rows:auto auto auto auto;grid-row-gap:10px;padding:20px;">
            <FluentCombobox TOption="string" Label="Default" />
            <FluentCombobox Width="120px" TOption="string" Label="Width=120px" />
            <FluentCombobox Width="250px" TOption="string" Label="Width=250px" />
            <FluentCombobox Width="100px" Style="min-width=50px;" TOption="string" Label="Width=100px and min-width=50px" />
     </div>

🤔 Expected Behavior

Width less than 250px should also take effect

😯 Current Behavior

QQ截图20240107184202

💁 Possible Solution

🔦 Context

🌍 Your Environment

.Net8.0 BlazorApp
Microsoft.FluentUI.AspNetCore.Components 4.2.1

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • .NET and FAST Version [e.g. 1.8.0]
@sswi sswi changed the title fix: [what is the issue?] in [where is the issue?] fix: [Width less than 250px does not take effect] in [FluentCombobox and FluentSelect] Jan 7, 2024
@vnbaaij vnbaaij closed this as completed in ee9cd15 Jan 7, 2024
@dvoituron
Copy link
Collaborator

@sswi A workaround to use a style like this one: min-width: 50px;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants