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

when there are more options and Put <AutocompleteInput> at the end of the form will display not well #3940

Closed
anewcoder1992 opened this issue Nov 6, 2019 · 2 comments
Assignees
Labels

Comments

@anewcoder1992
Copy link

anewcoder1992 commented Nov 6, 2019

What you were expecting:
AutocompleteInput options display well when there are too many options .

What happened instead:
options popup in the top of input .and when input some to search and the result will far away from the input .really ugly!

Steps to reproduce:
see https://codesandbox.io/s/simple-ucjul
1.see comment create page
2.select Number field bottom of the form and input 1 to search

Related code:

       <AutocompleteInput    source="number" choices={[
                { id: '0', name: '0' },
                 { id: '1', name: '1' },
                 { id: '11', name: '11' },
                 { id: '2', name: '2' },
                 { id: '3', name: '3' },
                 { id: '4', name: '4' },
                 { id: '5', name: '5' },
                 { id: '6', name: '6' },
                 { id: '7', name: '7' },
                 { id: '8', name: '8' },
                 { id: '9', name: '9' },
                    ]} />

Other information:
WeChat823951989bad7078a83d09d8a44e0fc3

Environment

  • React-admin version:next
@Kmaschta
Copy link
Contributor

Kmaschta commented Nov 7, 2019

Confirmed! Thanks for reporting

@fzaninotto
Copy link
Member

Fixed by #3951

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants