Topic: AutoComplete dropdown gets position 0 when inside modal
Expected behavior
When searching the autocomplete box, i expect it to dropdown with search results right under the input box.
Actual behavior
The search result drop down appears in the upper left corner (position: absolute; top: 0; left: 0;)
It seems the position is not calculated correctly, when displayed inside of a modal dialog.
Resources (screenshots, code snippets etc.)
ytec pro premium priority answered 2 years ago
pzauner pro premium priority answered a year ago
Same problem, any fix now after 9 Months?
doweb pro premium priority answered a year ago
I also have the same problem still, and it's extremely annoying, please prioritize!
mlazaru staff commented a year ago
Have you updated mdb to the newest version? The issue was fixed in 6.1.0. If the problem still occurs, please provide the code snippet.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 4.2.0
- Device: Macbook Pro
- Browser: Chrome
- OS: Mac OS
- Provided sample code: No
- Provided link: No
Wojciech Staniszewski staff commented 2 years ago
We will take a look at this problem. The fix will probably be available in the next release.