Join Slack
I’m trying to use the `swipeable` modifier in a <CoordinatorLayout> but it is only working Horizonta...
# compose
b
Bino
06/24/2022, 3:01 PM
I’m trying to use the
swipeable
modifier in a
CoordinatorLayout
but it is only working
Horizontal
but not
Vertical
https://gist.github.com/thebino/4c95e46cca53ec1d9baa29953f0ccb20#file-mainactivity-kt-L79
01.mp4
02.mp4
j
jossiwolf
06/24/2022, 3:27 PM
Can you post the layout code as well, please?
b
Bino
06/24/2022, 4:02 PM
@jossiwolf
The layout file is in the gist already. Look above 😄
Bino
06/25/2022, 5:09 AM
Regarding the tests, the standalone composable is working fine. Looks like, the
CoordinatorLayout
is covering all vertical swipe gestures.
https://gist.github.com/thebino/4c95e46cca53ec1d9baa29953f0ccb20
j
jossiwolf
06/25/2022, 11:30 AM
Ah heh scrolled right past that, sorry! cc
@levima
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by