Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

211
Vistas
How does JS calculate the delta in wheel events?

On a single mouse scroll the delta varies from screen to screen which is expected.

The DeltaMode is 0 which means the delta in the event is in pixels.

Problem is that on different screens the delta given by these events are not proportionate.

On a screen 1080px height, I get a deltaY of 4 on a single mouse scroll. and on a screen of 1600px height, I get a deltaY of 8 on a single mouse scroll.

The Scroll is not proportionate to the user screen and not affected by the current window height/width.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda