I have LazyColumn
that has verticalScroll
modifier, and each child row also has a horizontal swipeable
modifier. Everything actually works pretty well, but there is a bit of a problem when trying to scroll vertically -- if there's even a very slight horizontal movement, then the vertical scroll doesn't get triggered, and the horizontal swipe is triggered instead.
Is there any way to set a 'preference' for the vertical scroll, so that if there's any vertical movement, then the swipe shouldn't happen?
Edit:
I should clarify that I'm using the swipeable
modifier on each row for swipe-to-dismiss functionality. It's got some custom functionality, which is why I'm not using the SwipeToDismiss()
composable, but I did try running it using SwipeToDismiss()
, and it has the same problem