-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
AutocompleteInput suggestion list location #2961
Comments
What is your browser version please? |
Updated my comment. |
Hello, I'm facing this same situation. The AutocompleteInput's suggestions inside an ArrayInput floats away from the input. I'll insert a gif as an example: And here is the piece of code
Environment
PS: I ensured the packages were fully updated. I cleaned the cache and removed the node_modules folder and then installed all of them |
The problem comes from de Popper component inside of the AutocompleteInput. Try adding to the AutocompleteInput the options below:
|
Did you add the modifiers as well? |
Yes. Tried just like you sent, without the disablePortal option and some others also. keepTogether must be true to work properly |
Can you try those config in an AutocompleteInput outside the ArrayInput and SimpleformIterator iterator to see if its a compatibility problem with the ArrayInput and SimpleformIterator? or try this modifier https://popper.js.org/popper-documentation.html#modifiers..preventOverflow. |
I tried the AutoCompleteInput on a filter component also. Same result. I think the problem is related to this issue that is already fixed - #2259 |
I did the same because i had the same issue, look a this issue, the second comment #2370 The problem comes from the popper rendering outside its bouderies. In my case the wysiwyg i had, rendered after the autocomplete input, so the popper element was taking the initial position of the autocomplete input to render. So i tested several modifiers and the solution i sent to you was the correct for my case. In your case, it has to be another condition, but it still comes from the popper rendering outside the bouderies. |
Thanks for all the help, i'll try some other things and if i succeed fixing the problem i post it here |
Related to #3031 |
Fixed by #3683 |
AutocompleteInput suggestion list location still have these bugs after installing the latest release. (2.7.3)
If the suggestion list opens upward, when you search something, the list sticks to the top as it narrows.
Also the list panel stays fixed as you scroll down/up the page.
Environment
The text was updated successfully, but these errors were encountered: