bryankeltonadams
10/10/2023, 7:58 PMMahmoo
10/10/2023, 9:57 PMbryankeltonadams
10/10/2023, 10:16 PMMahmoo
10/10/2023, 11:44 PMZoltan Demant
10/11/2023, 3:15 AMandroid:enableOnBackInvokedCallback="true"
? The sheet intercepts key events, and with this enabled the "new" back event is ignored (the sheet just takes the old event into account). Disabling it should allow you to use BackHandler to do anything you like.ascii
10/11/2023, 3:31 AMonDismissRequest
, because that is called when you press back (or tap on the scrim etc).bryankeltonadams
10/11/2023, 3:39 PMZoltan Demant
10/11/2023, 3:41 PMbryankeltonadams
10/11/2023, 3:44 PMascii
10/11/2023, 3:48 PMconfirmStateChange
(or whatever it's called) along with onDismissRequest
will get you what you want?rememberModalBottomSheetState
bryankeltonadams
10/11/2023, 3:52 PM