BoxComponent Move or onPosition events during container scroll?
I know about getting scroll event. I am wondering whether you can also get the component Move event due to scrolling? this way you can focus on a particular component and know when it repositioned during scrolling?
The Move event only happens (by default, of course you can fire it elsewhere) when any BoxComponent has setPosition called on it with something other than Style.DEFAULT for both arguments.
You can however listen to the dom event Events.OnScroll to find out when a container has been scrolled, and update position accordingly. Without understanding your full use case it is hard to make suggestions, but it seems likely that you'd add a listener for OnScroll to every parent of the target component that could possibly scroll. Note that you might wish to use Event.Scroll instead if those parents are ScrollContainers or some other subclass of that.