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

86
Views
iOS15 Safari bottom navigation bar issue when showing modal

I faced an issue when I updated the iOS to version 15 on iPhone. And I found that Safari hide the navigation bar when I scroll down the page. It is ok, but the issue come when I open a modal.

When I open modal with following well known style

.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;
}

with

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

, the bottom navigation bar area has been empty and filled with Website Tinting color, applied in iOS15. To reproduce this issue,

  1. make modal
  2. insert input in modal and auto focusing it
  3. keypad up
  4. hide the keypad
  5. navigation bar is downsized and the navigation bar area is still positioned with Tinting color.

I attach an image for it and question link related to this question.

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

enter image description here

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Try setting min-height: 100vh; to html element.

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!