I have a bottomSheet that I hide() on an event lam...
# compose
c
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
file it; this is what
MutatePriority
is for in other parts of the API
c