You can but if you touch a draggable component it will drag. You can toggle these modes thru long press or any other flag by flicking the draggable flags dynamically.
Can "Drag and Drop" and "Scrolling" work well at the same time?
-
18-10-2022 - |
Question
Is it possible to have drag and drop and scrolling at the same time? It seems a bit flakey if you simply enable it. Sometimes it scrolls; sometimes it drag and drops. Would be nice if could manually invoke a drag from long pointer or something?
My code has a Container
that is drop-enabled and y-scrollable. It has drag enabled Components
within it. Is there something else I can do to make them play nicely together?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow