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

174
Visualizações
How to disable chrome native "max-scroll" overlay?

I've searched for 15 minutes for a similar question but could not find it, so here it is :

My app is a fullscreen canvas with the user constantly moving is finger on the screen, thus I want to get rid of chrome native "max-scroll" overlay (see picture below), which occurs when the user is moving his finger up or down

enter image description here

My body is stylised like so :

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

And I've tried things like preventDefault() on window touchstart and scroll events but nothing seems to do the work :(

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

You can use the overscroll-behavior in CSS to prevent overscroll effects.

It takes three possible values:

  • auto - Default. Scrolls that originate on the element may propagate to ancestor elements.
  • contain - prevents scroll chaining. Scrolls do not propagate to ancestors but local effects within the node are shown. For example, the overscroll glow effect on Android or the rubberbanding effect on iOS which notifies the user when they've hit a scroll boundary. Note: using overscroll-behavior: contain on the html element prevents overscroll navigation actions.
  • none - same as contain but it also prevents overscroll effects within the node itself (e.g. Android overscroll glow or iOS rubberbanding).

To prevent the overscroll glow:

body {
    overscroll-behavior: none;
}
about 4 years ago · Juan Pablo Isaza Relatório

0

try this

 html, body {
      overscroll-behavior: none;
    }
about 4 years ago · Juan Pablo Isaza Relatório
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