Wheel scroll difference in chrome and firefox

I am experiencing an issue with scrolling the mouse wheel in firefox and chrome. The scroll speed differs between these browsers while using the same wheelDeltaPercentage. In this playground I’m logging the deltaY value when scrolling. This value differs between the browsers. Could that be the reason the scroll speed is different?
Firefox is more sensitive when scrolling.
https://playground.babylonjs.com/#L2DQ0Y#4

Hi @klaasnienhuis! Looping in @PolygonalSun aka input specialist to see if he has an idea to help you.

Most browsers handle input from a mouse wheel per pixel, with the exception of Firefox, which handles it per line. Because of this, we have to handle the input differently. I can look at the values this week and see what’s happen.

3 Likes