I am using Accompanist's BottomSheetNavigator to display a BottomSheet in a Compose Application. The requirement is to disable the touch event outside the Bottom Sheet & only perform action on a Button click event. There are no methods like setCancelable(false) or setCanceledOnTouchOutside(false) used in non-Compose applications.
Eg.
In this image, action should only be taken if user clicks on "Apply Now" button, no action should take place if users clicks on device back button or if user touches outside the Bottomsheet. Is there any way I can achieve the said functionality?