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] targetOrigin doesn't work in the first rendering #4245

Closed
nicolasiensen opened this issue May 12, 2016 · 1 comment
Closed
Labels
bug 🐛 Something doesn't work component: autocomplete This is the name of the generic UI component, not the React module!

Comments

@nicolasiensen
Copy link
Contributor

Problem description

As you can see in the gif below, the AutoComplete results are first targeted in the vertical top, but when it is opened again the results goes to the vertical bottom.

autocomplete

In the next image you can see that the AutoComplete component is receiving targetOrigin={{vertical: 'bottom', horizontal: 'left'}} as props.

screen shot 2016-05-12 at 10 10 09 am

### Steps to reproduce 1. Create an `AutoComplete` with `targetOrigin={{vertical: 'bottom', horizontal: 'left'}}` 2. Search something in the `AutoComplete` and observe that the target is not right 3. Close the `AutoComplete` list of results and open it again, now observe that the target is right ### Versions - Material-UI: 0.15.0 - React: 15.0.2 - Browser: Google Chrome 50.0.2661.86 (64-bit)
@mpontikes mpontikes mentioned this issue Aug 5, 2016
13 tasks
@oliviertassinari oliviertassinari changed the title AutoComplete targetOrigin doesn't work in the first rendering [AutoComplete] targetOrigin doesn't work in the first rendering Sep 18, 2016
@oliviertassinari oliviertassinari added the bug 🐛 Something doesn't work label Sep 18, 2016
@oliviertassinari
Copy link
Member

Closed by #4783

@oliviertassinari oliviertassinari added the component: autocomplete This is the name of the generic UI component, not the React module! label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: autocomplete This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants