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

[Autocomplete]: Support overflow ellipsis by default #20244

Closed
1 task done
NixBiks opened this issue Mar 23, 2020 · 1 comment
Closed
1 task done

[Autocomplete]: Support overflow ellipsis by default #20244

NixBiks opened this issue Mar 23, 2020 · 1 comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@NixBiks
Copy link
Contributor

NixBiks commented Mar 23, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

It would be nice if ellipsis was added if maxWidth and maxLines are set in Autocomplete and there is overflow.

Examples 🌈

<Autocomplete {...props} style={{ maxWidth: 450, maxLines: 1 }} />

Motivation 🔦

I use Autocomplete for a lot of multiple select. Often I create quite extensive lists which takes up too much space.

@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists component: autocomplete This is the name of the generic UI component, not the React module! labels Mar 23, 2020
@oliviertassinari
Copy link
Member

Duplicate of #19137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants