ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
1.06k
stars
177
forks
source link
onSwipe not work when sub composable item with clickable Modifier #850
Open
CarefulDeveloper opened 5 months ago
I use MotionLayout(Compose) like this:
swipe action can work fine:![20240110102832_rec_](https://github.com/androidx/constraintlayout/assets/78646351/c72c1789-ee13-465b-b1ce-30d61cfba5cd)
If I add
Modifier.clickable{}
:Swipe action not work now:![20240110102731_rec_](https://github.com/androidx/constraintlayout/assets/78646351/6a6ec7fd-4fac-4c1d-b7df-e1a7fd531ea8)