Topic: Google Map and Search box not working in modal
SearchBox does not work when it is inside a modal.
Does anyone know how to fix it?
Thanks and best regards. Pablo
pabloabl pro premium answered 5 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.0
- Device: PC
- Browser: Chrome
- OS: Win10
- Provided sample code: No
- Provided link: No
Tags
Grzegorz Bujański staff commented 4 years ago
Hi. How we can reproduce this issue? Can you create snippet here: https://mdbootstrap.com/snippets and show us this bug?
pabloabl pro premium commented 4 years ago
Hi!, I already solved it, thank you very much for responding.
The div where the results are loaded is called pac-container, I just adjusted the z-index for it and it worked.
.pac-container { z-index: 100000 !important; }
Grzegorz Bujański staff commented 4 years ago
I'm glad you were able to solve this problem. Best, Grzegorz