Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

381
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 Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!