We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8eb8b9 commit 6e4b49aCopy full SHA for 6e4b49a
src/bottomsheet/bottomsheet.android.ts
@@ -51,7 +51,7 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
51
},
52
53
onBackPressed(dialog: com.nativescript.material.bottomsheet.BottomSheetDialog) {
54
- if(options.dismissOnBackButton === false){
+ if(bottomSheetOptions.options && bottomSheetOptions.options.dismissOnBackButton === false){
55
return true;
56
}
57
0 commit comments