Business
Jobs
  • About Us
  • Solutions
    • Candidates
      We find and qualify the candidate in 48h.
    • Assessments
      500+ technical and psychological assessments, plus anti-fraud system.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Pay in 15+ LATAM countries without setting up a local entity.
  • Pricing
  • Jobs

0

371
Views
Problema con la barra de navegación inferior de iOS15 Safari al mostrar modal

Enfrenté un problema cuando actualicé el iOS a la versión 15 en el iPhone. Y descubrí que Safari oculta la barra de navegación cuando me desplazo hacia abajo en la página. Está bien, pero el problema surge cuando abro un modal.

Cuando abro modal siguiendo un estilo bien conocido

 .modal { position: absolute; /* or fixed */ top: 0; right: 0; bottom: 0; left: 0; /* following is what I tried to, but not work */ width: 100vw; height: 100vh; }

con

 <body> ... <div class="modal">...</div> </body>

, el área de la barra de navegación inferior se ha vacío y se ha rellenado con el color Website Tinting, aplicado en iOS15. Para reproducir este problema,

  1. hacer modal
  2. insertar entrada en modal y enfocarla automáticamente
  3. teclado arriba
  4. ocultar el teclado
  5. la barra de navegación se reduce y el área de la barra de navegación todavía se coloca con el color Tinting.

Adjunto una imagen y un enlace de pregunta relacionado con esta pregunta.

https://lzomedia.com/blog/modal-wont-resize-when-ios-15-safaris-navbar-expands/

ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Intente configurar min-height: 100vh; al elemento html.

 html { min-height: 100vh; }
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!