when clicking back after bottom sheet collapsed ap...
# compose
r
when clicking back after bottom sheet collapsed app is crashing. I've used Backhandler present in activity compose lib to collapse the sheet on back click.
Copy code
java.lang.IllegalArgumentException: The target value must have an associated anchor.
        at androidx.compose.material.SwipeableState$animateTo$$inlined$collect$1.emit(Collect.kt:135)
🧵 1
c
Hi @Ravi can you edit your post and move your code into a thread? See https://kotlinlang.slack.com/archives/CJLTWPH7S/p1616265877303000