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

202
Visualizações
How to scroll document first and element second?

Normally when I point my mouse on scrollable-element and scroll that element scrolls and only when it is scrolled up to the bottom the full document scrolls. Is it possible to reverse this behaviour? I.e. to make document scroll even when I point to a scrollable element and only when you reach the end of the document - scroll the element itself.

I tried to simulate this with scrollTo function in an eventListener, but it results in jittering, since there are multiple scroll events fired at the same time and eventListener treats them in arbitrary order resulting into scrolling into arbitrary scroll positions, i.e. back and forth.

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