bug url https://playground.babylonjs.com/#3KYK26#1
cc @RaananW
Looking into that
Though you have many many unneeded containers, it should still work, of course
barSize is a number and not a string. If you change it to a number it works - https://playground.babylonjs.com/#3KYK26#2
2 Likes
Yup !
And about this :
// for num 11 run ok
// for (var i = 0; i < 15; i++) {
// for num > 11 run bug
for (var i = 0; i < 15; i++) {
The link with index is that this scrollBar error is triggered as soon as the container becomes larger than the scrollviewer, triggering the scrollBar
By the way if you want to be able to scroll with the wheel without triggering camera movement, you can set isPointerBlocker = true;
on the container :
3 Likes
thank you
thank you 。
1 Like