You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug] [iOS] When navigating the page as PushModelAsync, the content page background color is always black even when the content page background color is set as transparent.
#15589
My goal is to view the content of the bottom page from the top of the other content page. In order to accomplish this, I used PushModelAsync to navigate and set the BackgroundColor property of the navigation page to Transparent. I can view the content on the bottom page on Android. However on the iOS platform, a black color is always displayed and I am unable to read the content of the bottom page. Why is the background color always black even when it is set to be transparent in PushModelAsync?
Note: The iOS platform displays a white screen when I change the navigation to PushAsync.
Steps to Reproduce
Click the button to navigate to another page.
Check the current page background color.
Expected Behavior
Background color should not be black and it should be transparent when navigating using PushModelAsync
Actual Behavior
Background color is always black even when the content page background color is set as transparent when navigating using PushModelAsync
Basic Information
Platform Target Frameworks:
iOS: 14.4
Android: Android 11 API 30
NuGet Packages: Xamarin.forms: 5.0.0.2012
Affected Devices: iPhone 12 Pro MAX iOS 14.4 (Simulator)
Description
My goal is to view the content of the bottom page from the top of the other content page. In order to accomplish this, I used PushModelAsync to navigate and set the BackgroundColor property of the navigation page to Transparent. I can view the content on the bottom page on Android. However on the iOS platform, a black color is always displayed and I am unable to read the content of the bottom page. Why is the background color always black even when it is set to be transparent in PushModelAsync?
Note: The iOS platform displays a white screen when I change the navigation to PushAsync.
Steps to Reproduce
Expected Behavior
Background color should not be black and it should be transparent when navigating using PushModelAsync
Actual Behavior
Background color is always black even when the content page background color is set as transparent when navigating using PushModelAsync
Basic Information
Environment
Show/Hide Visual Studio info
Screenshots
Android
iOS
The issue reproducing sample is provided below:
DemoSample
The text was updated successfully, but these errors were encountered: