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

178
Vistas
Page background removes when modal (with ajax called data) open

I am using Bootstrap v4 and have a strange issue.
See the gray background

Problem comes when I open a modal with ajax called contents such as search results or any other ajax.
Immediately after opening modal, background of the page removes automatically.
No background

When I close the modal, background remains blank.
Following is the code of the modal.

    <div class="modal" id="paymentData" tabindex="-1" role="dialog" aria-labelledby="paymentData" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-search">
        <div class="modal-content">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <div class="modal-body">
                <div class="fetched-data"></div>
            </div>
        </div>
    </div>
</div>

This happens only when I open modals with ajax called data.

-- I noticed when I open the modal almost all the styles remove from the page. Even the styles of the navigation bar.

over 4 years ago · Santiago Trujillo
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