pixi-scrollbox icon indicating copy to clipboard operation
pixi-scrollbox copied to clipboard

Scroll Wheel event listener goes off from scroll box position.

Open ClayChong opened this issue 5 years ago • 3 comments

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.

ClayChong avatar May 26 '20 04:05 ClayChong

How are you moving the scrollbox?

davidfig avatar May 26 '20 22:05 davidfig

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.

ClayChong avatar May 27 '20 01:05 ClayChong

when resize the window I'm aslo getting this issue on mouse wheel.

bkadime avatar Aug 12 '20 13:08 bkadime