lucaszischka/BottomSheet

Dismissing Issue

Closed this issue · 2 comments

when opening a sheet on another sheet and clicking outside the two sheets it dismisses the two sheets.
And background sheet is clickable from the foreground one.

Expected behavior:
Background View should not accessible from the sheet.

Simulator Screen Shot - iPhone 14 Pro Max - 2022-11-23 at 07 10 05

Additional context
Simulator Screen Shot - iPhone 14 Pro Max - 2022-11-23 at 07 10 05

Simply don’t use:

.enableTapToDismiss(Bool): Makes it possible to dismiss the BottomSheet by tapping somewhere else.

Oh and if you don’t want the sheet in the background to be accessible, simply hide it or implement some sort prevention yourself. This is not something the library will take care of.