Skip to content

[iOS] Page titles do not appear until navigating when pushing a modal page at startup #20199

Closed
@matt-goldman

Description

Description

On iOS, if you push a modal page onto the navigation stack at startup, page title are not displayed until navigating.



❌ Figure: A modal page is pushed at startup, when it is popped the page title in Shell is not displayed. After navigating, the title is displayed.

Steps to Reproduce

  1. Create a new .NET MAUI app
  2. Push a modal page during startup (e.g., in AppShell.xaml.cs overriding OnAppearing)
  3. Run on iOS
  4. Pop the page that is pushed at startup
  5. Observe bug 🐞
  6. Navigate to another page
  7. Observe that title is now displayed
  8. Navigate back
  9. Observe that title is now displayed

Link to public reproduction project repository

https://github.com/matt-goldman/ios-modal-title-bug

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.49

Affected platforms

iOS

Affected platform versions

iOS 15

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions