androidx / constraintlayout

ConstraintLayout is an Android layout component which allows you to position and size widgets in a flexible way
Apache License 2.0
1.07k stars 176 forks source link

MotionLayout Compose support nested scroll #745

Open YusufbekIbragimov opened 1 year ago

YusufbekIbragimov commented 1 year ago

I think the Jetpack Compose MotionLayout OnSwipe feature has to support a nested scroll screen because when I use the MotionLayout screen in the scaffold, my drawer would not open. In my view, We use the MotionLayout in many situations like that so you have to add this feature in the MotionLayout.

You can see my problem here: https://github.com/androidx/constraintlayout/issues/743

jafu888 commented 1 year ago

Built an example to show how you would do what you want.

project

https://user-images.githubusercontent.com/15019413/195679372-153f6ccf-d263-4085-9441-c29c105360e7.mp4