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

209
Vistas
How do I force scroll wheel events to only affect a canvas filled with BabylonJS

I have a web app that contains a canvas filled with a BabylonJS created scene (with an ArcRotateCamera) and other html content. I want to use the scroll wheel of the mouse to zoom the camera in the canvas. This works as long as the html content is not scrollable. As soon as the html becomes scrollable the scroll wheel affects both, the zoom of the canvas (that is what I want) and the part of the HTML page shown (this what I do not want here). How could I prevent the scroll wheel from affecting the HTML contents (which ultimately scrolls the canvas offscreen)?

about 4 years ago · Santiago Trujillo
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