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] multiple values dropdown arrow & x pushed to wrong location #18460

Closed
2 tasks done
goleary opened this issue Nov 20, 2019 · 1 comment · Fixed by #18520
Closed
2 tasks done

[Autocomplete] multiple values dropdown arrow & x pushed to wrong location #18460

goleary opened this issue Nov 20, 2019 · 1 comment · Fixed by #18520
Assignees
Labels
component: autocomplete This is the name of the generic UI component, not the React module!

Comments

@goleary
Copy link
Contributor

goleary commented Nov 20, 2019

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

This is visible in the docs
image

https://material-ui.com/components/autocomplete/#multiple-values

Expected Behavior 🤔

I expect the dropdown arrow to remain on the line with the cursor

Steps to Reproduce 🕹

https://material-ui.com/components/autocomplete/#multiple-values

Start adding values to the textfield. it happens when the placeholder takes up the rest of the line, it pushes the dropdown arrow & even the x to the beginning of the next line.

image

Your Environment 🌎

Tech Version
Material-UI v4.?.?
OS windows
Browser Chrome
@oliviertassinari oliviertassinari added the component: autocomplete This is the name of the generic UI component, not the React module! label Nov 20, 2019
@oliviertassinari
Copy link
Member

@goleary Haha, I have seen this one coming (noticed it during initial development). We might want to apply the same approach than the Select component (position absolute + padding-right).

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!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants