-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Hi,
Thank you for nice library!
I have around 15 image actors that I need to allow the user to reorder via drag&drop. The issue is visible when, for example, using
visTable.add(new VisScrollPane(dragPane))
and as you might imagine, any attempt to drag an actor result in jumping and flashing of the mimic and the scrolling is doing it's job at the same time.
The ideal fix is of course is to be able to drag, while the scroll kicks in only when you are near the end of the pane. But I assume that would be too difficult to achieve. So a less ambitious way is that during a mimic drag we block the scroll from getting drag events.In order to get that working we also need to start the mimic drag only on longpress/touch. In this less ambitious manner the user needs to drag-drop-scroll, then again drag-drop-scroll in order to get the last actor from the bottom to the top.
I been looking at the sources for few hours, I do not think I can implement the ideal fix. But maybe I can implement the less ambitious work around if I get pointer about:
1- How to start the mimic drag on longpress and not on simple touchdown ?
2- How to block the drag event to go further to the scroll parent during a mimic drag?