davidfig / pixi-scrollbox

a scrollbox built for pixi.js using a masked box that scrolls vertically and/or horizontally with optional scrollbars
https://www.npmjs.com/package/pixi-scrollbox
MIT License
170 stars 33 forks source link

Click & Hover effects don't work if scrollbar is at the end #57

Open oguzilerle opened 1 year ago

oguzilerle commented 1 year ago

Hi, I couldn't find a similar issue so I'm opening this one.

If I scroll in the scrollbox to the end, items inside become non-interactable. They automatically become interactable again if: 1- I scroll to middle (anywhere in the scrollbar that is not the end. (scrollbox.scrollLeft = 0.1 works, for example) 2- I interact with another pixi element thats out of the scrollbox, and come again into the scrollbox

Using v2.3.0.

I wanted to ask if this issue is known and if there is a cleaner solution for this than manually adding margin to scrollbar position

Thanks in advance