When I change my babylon code to the version 4.2.0,I cannot use mouse wheel to scroll the ScrollViewer component. Everything was just fine in the 4.0.0 version.
I find an example in the playground and it is normal.
https://playground.babylonjs.com/#3EF49E#5
Then I changed my code to the playground verison of babylon.gui.min.js which is also 4.2.0 verison. And I got an error which shows “Uncaught TypeError: i.getFontOffset is not a function”.
The “onWheelObservable” property in the “scrollViewer.ts” seems not been triggered. Only the “rootContainer” can get the mouse wheel event. Who knows what happened?