Vertical ListView inside horizontal SwipeView buggy scrolling
-
wrote on 5 Jul 2018, 00:03 last edited by daljit97 7 May 2018, 00:04
So I have got some vertical
ListView
s inside aSwipeView
:SwipeView{ ListView{ orientation: ListView.Vertical } ListView{ orientation: ListView.Vertical } ListView{ orientation: ListView.Vertical } }
Now this is a common UI pattern on mobile platform. Everything seems to work well, however the scrolling has some problems. Many times when I am scrolling the
ListView
vertically the application 'confuses' the touch event for a horizontal touch event and scroll theSwipeView
horizontally and at other times the opposite happens. Now this is expected as it is hard to infer the user's intention 100% of the time, however I have tried to write the same UI in native Java on Android and these "uncertainties" in the scrolling are almost non-existent. Is there any way to improve this? I have looked around and found nothing. -
wrote on 30 Jul 2018, 16:52 last edited by
Hi ,
you can use the SwipeView property interactive, to look when ListView are scrolling and enable in ListView when SwipeView scrolling