Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

126
Visualizações
Stop body from scrolling on safari iOS 15

I have a scrollable page and a drawer. When the drawer is open (which is not scrollable) I noticed that when I do a scroll touch - from bottom to top or top to bottom, the safari url/search bar appears/disappears and this breaks my layout. I tried having overflow:hidden and touch-action:none on body when the drawer is open, but this doesn't work on Safari. The only solution I found is setting the html overflow to hidden, but this makes the page behind the drawer to reset the scrolling position (0,0). Is there any solution to keep the current scroll position while disabling this annoying effect?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda