pixi-scrollbox
pixi-scrollbox copied to clipboard
Scroll Wheel event listener goes off from scroll box position.
I constructed a scrollBox with boxWidth and boxHeight I wanted. Then I gather the items that I want to show in the scroll box in a PIXI.Container and add into scrollBox.content. Everything works fine, but the scroll wheel listener not follow scrollBox position and goes off.
I tried to .resize() and .update() the scrollBox again after added in items containers, but not work either.
Can someone help me with this?
Thanks.
How are you moving the scrollbox?
I tried two way. First is normal way scrollbox[ .x & .y ] equal to number. Second is scrollbox.position.set(). Both ended up with same issue.
when resize the window I'm aslo getting this issue on mouse wheel.