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

<input> unnecessarily increases Multiselect width #174

Open
egdegauperaa opened this issue Nov 23, 2022 · 1 comment
Open

<input> unnecessarily increases Multiselect width #174

egdegauperaa opened this issue Nov 23, 2022 · 1 comment
Labels
DX Developer experience style Anything CSS related

Comments

@egdegauperaa
Copy link

egdegauperaa commented Nov 23, 2022

In the project I'm working on we have a few places where only 1 selection is to be made (maxSelect is 1). After making the selection the <input> unnecessarily takes up space, which makes CSS work harder when trying to fit everything, so I'm proposing that it is omitted in that case. I'm creating a PR for this (yay, my first code contribution to an open source project ever!).

@janosh janosh added DX Developer experience style Anything CSS related labels Nov 23, 2022
@janosh janosh reopened this Dec 2, 2022
@janosh janosh changed the title Can the input at the end be omitted when a selection has been made and maxSelect is 1? <input> unnecessarily increases Multiselect width Dec 2, 2022
@trasherdk
Copy link

Not a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Developer experience style Anything CSS related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants