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

[Bug]: mt-select truncates options even on single selection #295

Open
1 task done
cyl3x opened this issue Sep 18, 2024 · 2 comments
Open
1 task done

[Bug]: mt-select truncates options even on single selection #295

cyl3x opened this issue Sep 18, 2024 · 2 comments
Labels
type: bug 🐛 Something isn't working

Comments

@cyl3x
Copy link
Contributor

cyl3x commented Sep 18, 2024

Package

@meteor/component-library

Package version

3.12.0

Link to minimal reproduction

https://meteor-component-library.vercel.app/?path=/docs/components-form-mt-select--docs

Steps to reproduce

  • Have a options label pretty long (aprox. 25 Charactars)
  • Select that option

Actual behavior

The selected option will be cut off even if there is more space to fill. With the normal max width of a card in the admin (~960px), such elements will only fill 1/3 to 1/4 of the available space, which looks a bit wasted

Expected behavior

The selected option fills all available space and maybe only get truncated on search

System Info

No response

Any additional comments?

No response

Code of Conduct

@cyl3x cyl3x added the type: bug 🐛 Something isn't working label Sep 18, 2024
@cyl3x
Copy link
Contributor Author

cyl3x commented Sep 18, 2024

Will be fixed by #250

@Haberkamp
Copy link
Contributor

Thanks for the issue, I'll do that with #430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants