Topic: Google Map and Search box not working in modal

pabloabl premium asked 3 years ago

SearchBox does not work when it is inside a modal.

Does anyone know how to fix it?

Thanks and best regards. Pablo

Grzegorz Bujański staff commented 3 years ago

Hi. How we can reproduce this issue? Can you create snippet here: and show us this bug?

pabloabl premium commented 3 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 3 years ago

I'm glad you were able to solve this problem. Best, Grzegorz

pabloabl premium answered 3 years ago

.pac-container { z-index: 100000 !important; }

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.19.0
  • Device: PC
  • Browser: Chrome
  • OS: Win10
  • Provided sample code: No
  • Provided link: No