Topic: AutoComplete dropdown gets position 0 when inside modal
doweb priority asked 2 years ago
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.)
doweb priority answered 1 year ago
I also have the same problem still, and it's extremely annoying, please prioritize!
Mateusz Lazaru staff commented 1 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
- ForumUser: Priority
- 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.