<Android Compose ModalBottomSheetLayout calling hi...
# stackoverflow
r
Android Compose ModalBottomSheetLayout calling hide on rememberModalBottomSheetState object causing overlay hanging with JobCancellationException I'm using Android Compose ModalBottomSheetLayout, when calling hide() on rememberModalBottomSheetState object it causes an overlay hang periodically. The exception being thrown is CancellationException nested kotlinx.coroutines.JobCancellationException: ScopeCoroutine was cancelled; job=ScopeCoroutine{Cancelled}@5ef8661 What is the reason for this being called and/or is there an efficient way to retry hiding the Bottom Sheet Dialog when the exception is thrown? @Composable fun ExampleUi(...