Skip to content

Commit

Permalink
Allow transparent modal pages on iOS (#11107) Fixes #8526 Fixes #11040
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed Nov 22, 2022
1 parent 66edae1 commit 66e2486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Platform/iOS/ModalWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal ModalWrapper(IPlatformViewHandler modal)
{
Color modalBkgndColor = ((Page)_modal.VirtualView).BackgroundColor;

if (modalBkgndColor?.Alpha > 0)
if (modalBkgndColor?.Alpha > 0 || modalBkgndColor == Colors.Transparent)
result = UIKit.UIModalPresentationStyle.OverFullScreen;
}

Expand Down

0 comments on commit 66e2486

Please sign in to comment.