Skip to content

Commit

Permalink
Fix Java.Lang.IllegalArgumentException: 'The view is not a child of C…
Browse files Browse the repository at this point in the history
…oordinatorLayout, Issue #1
  • Loading branch information
DanKyungu committed Aug 31, 2022
1 parent 18657d0 commit 1eaafb1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/OverSheet/Platforms/Android/OverSheetExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ public static void ShowBottomSheet(this Page page, IView content, float cornerRa

var viewToShow = content.ToPlatform(mauiContext);


SetCornerRadius(context, cornerRadius);
UpdateBackgroundColor(context,viewToShow);

BottomSheetBehavior.From(viewToShow);

BottomSheetDialog.SetContentView(viewToShow);
//BottomSheetDialog.Show();
BottomSheetDialog.Show();

}

Expand Down

0 comments on commit 1eaafb1

Please sign in to comment.