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?