Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Modal Page does not have transparent background when root page is NavigationPage #10861

@dinesh4official

Description

@dinesh4official

Description

In the Xamarin.Forms v4,6, I've tried to push the Modal page whose root page is a NavigationPage. But the output shows the white background. I've tried with all enum ModalPresentationStyle but no result.

ios:Page.ModalPresentationStyle="OverFullScreen"

Navigation.PushModalAsync(new NavigationPage(new TransparentPage());

Steps to Reproduce

Step 1 : Run the application in iOS platform and select the TabbedPage Translucent TabBar item. It will navigate to TabbedPage.
Step 2 : . Select the Return to Platform-Specifics List button in the view. It will push a new Modal page.
Issue : You can see the except the content and background color is turned to Black as like below pic.

Expected Behavior

  • Modal page should be transparent when root is NavigationPage.

Actual Behavior

  • Modal page renders with white background when root is NavigationPage.

Basic Information

  • Version with issue: v4.6.0.800
  • Last known good version: NA

Screenshots

Screenshot 2020-05-26 at 11 42 20 AM

Reproduction Link

TransparentPageIssue.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions