https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

12/15/2021, 3:05 AM
I have a bottomSheet that I hide() on an event lambda i.e.
Copy code
val successEvent = {
  scope.launch {
    bottomSheetState.hide()
  }
}
This works greats except that if the user happens to be touching the bottom sheet while I call hide(), then it won't actually hide. Is there another way to force the sheet to hide if I really need it to hide, or am I out of luck/file a feature request?
a

Adam Powell

12/15/2021, 3:47 AM
file it; this is what
MutatePriority
is for in other parts of the API
c

Colton Idle

12/15/2021, 5:07 AM