When modally pushing a page with a transparent background over an existing page the background is transparent while the Navigation the page is animating, and then the background loses transparency.
Note this impacts the Prism 8 update to the DialogService as we are updating to use a Modal Page with a transparent background. See PR https://github.com/PrismLibrary/Prism/pull/2169/
Also while this may be related to #10861, I've opened this as a separate issue as I have tested with and without a NavigationPage in the mix and get the same results.
The Page background should be transparent with the opaque mask visible and showing the content of the underlying page
The Page background is transparent while the Navigation Animation is running and then loses transparency. If using PushModallyAsync(page, false) the new page simply is presented modally without a transparent background.
| Android | iOS |
|:--------:|:---:|
|
|
|
https://github.com/PrismLibrary/Prism/tree/transparent-modals/e2e/Forms
n/a
@dansiegel Using the PlatformSpecific that allows setting the ModalPresentationStyle:
On<iOS>().SetModalPresentationStyle(UIModalPresentationStyle.OverFullScreen);
Should allow you to use a transparent background.
thanks for the work around and fix in progress.
Most helpful comment
@dansiegel Using the PlatformSpecific that allows setting the ModalPresentationStyle:
On<iOS>().SetModalPresentationStyle(UIModalPresentationStyle.OverFullScreen);Should allow you to use a transparent background.