[AutoComplete] targetOrigin doesn't work in the first rendering #4245
Labels
bug 🐛
Something doesn't work
component: autocomplete
This is the name of the generic UI component, not the React module!
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.In the next image you can see that the
AutoComplete
component is receivingtargetOrigin={{vertical: 'bottom', horizontal: 'left'}}
as props.### 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)
The text was updated successfully, but these errors were encountered: