3

I have a Compose MotionLayout with :

  • a title at the middle of the screen first
  • a bellow content which can be a LazyColumn or a Column with verticalScroll()

When I dragUp the content, the title must go to the top of the screen (it works) and the content must remain bellow (it works too).

I use NestedScrollConnection to detect when there is a DragUp on my List and apply it to my swipeableState (swipeableState.performDrag(...)).

The problem is that my LazyColumn/scrollable column scrolls inside itself during the MotionLayout top animation. I do not remember in XML I had this issue.

How to handle it?

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
Tonio
  • 391
  • 3
  • 5

0 Answers0