Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

199
Vistas
React bootstrap modal does not display when google maps is fullscreen

In my react.js web app, I launch a react bootstrap modal menu from a google map and it displays correctly. However, when I display the google map in fullscreen mode, the react bootstrap modal menu does not display. The information I've found so far, indicates that the modal menu needs to be inside of the maps fullscreen div and that the z-index will not fix this. I've also found 2 working samples ([sample1][1], [sample2][2]), but I can't get them to work for my particular implementation using react. In my implementation, the modal menu is a component that I create using the bootstrap modal component. Here is a high level view of the code:

import {GoogleMap, LoadScript, Marker} from "@react-google-maps/api";
<LoadScript>
   <GoogleMap>
   </GoogleMap>
   {MenuModalShow ? (
     <MenuModal
       id="MenuModal"
       show={MenuModalShow}
       onHide={() => setMenuModalShow(false)}
       menu_modal_list={MenuModalList}
       menu_modal_heading={MenuModalHeading}
       menu_model_image={MenuModalImage}
       menu_modal_place={MenuModalPlace}
     />
   ) : null}
</LoadScript>


  [1]: https://stackoverflow.com/questions/47247907/google-map-in-fullscreen-with-bootstrap-modal
  [2]: https://stackoverflow.com/questions/60738875/open-a-bootstrap-modal-over-leaftlet-in-fullscreen
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda