-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Shell][iOS] Page Title is wrong when navigating #14434
Copy link
Copy link
Closed
Labels
area-controls-shellShell Navigation, Routes, Tabs, FlyoutShell Navigation, Routes, Tabs, Flyoutplatform/iost/bugSomething isn't workingSomething isn't working
Description
Description
When I use a Shell architecture and navigate between pages, the page you navigated from changes Title to the page you navigate to. This can be observed by looking at the "back title" in the navigation bar. The title changes from the page you navigated from, to the title of the page you navigated to. When you navigate back to the first page, you can see that the page changes the titles as well.
Here is a video:
Simulator.Screen.Recording.-.iPhone.14.-.2023-04-06.at.11.52.49.mp4
Steps to Reproduce
- Create a File-> New -> Dotnet MAUI app
- Change the default button from the templates code behind to this:
Shell.Current.Navigation.PushAsync(new ContentPage(){Title = "Second", Content = new Label() {Text = "Hello world"}}); - Start the app on iOS device or simulator
- Tap the button
- Observe the title changes in the navigation bar and the title of the main page.
Link to public reproduction project repository
https://github.com/haavamoa/MauiApp/tree/bug/navTitle
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16.4, iOS 14.2
Did you find any workaround?
No response
Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-shellShell Navigation, Routes, Tabs, FlyoutShell Navigation, Routes, Tabs, Flyoutplatform/iost/bugSomething isn't workingSomething isn't working