[Autocomplete] - Chips should not be bigger than the input #18653
Labels
bug 🐛
Something doesn't work
component: autocomplete
This is the name of the generic UI component, not the React module!
good first issue
Great for first contributions. Enable to learn the contribution process.
When the text of the input is too big, the Chip is bigger than the input so it goes out of it
Current Behavior 😯
The value is too big for the input
![image](https://user-images.githubusercontent.com/5055248/69982308-097aab80-152c-11ea-9007-16e778918527.png)
Expected Behavior 🤔
The text displayed should be shrinked so it can fit in the input
![image](https://user-images.githubusercontent.com/5055248/69982615-ccfb7f80-152c-11ea-9942-2638833d4f0b.png)
Steps to Reproduce 🕹
Steps:
Context 🔦
I am not in control of the data showed in the input and this is a scenario that has come up. I fixed it by creating the Chip myself and passing style to it, but I thought it'd be best having a solution in the library.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: