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

197
Visualizações
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 à 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