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 da6168d commit 1245713Copy full SHA for 1245713
src/bottomsheet/bottomsheet.android.ts
@@ -68,7 +68,10 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
68
}
69
70
owner.notify(args);
71
- return args.cancel || owner.onBackPressed();
+ if (!args.cancel) {
72
+ args.cancel = owner.onBackPressed();
73
+ }
74
+ return args.cancel;
75
76
});
77
const dialog = new com.nativescript.material.bottomsheet.BottomSheetDialog(fragment.getActivity(), theme);
0 commit comments