Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shell][iOS] Page Title is wrong when navigating #14434

Closed
haavamoa opened this issue Apr 6, 2023 · 3 comments
Closed

[Shell][iOS] Page Title is wrong when navigating #14434

haavamoa opened this issue Apr 6, 2023 · 3 comments
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/iOS 🍎 t/bug Something isn't working

Comments

@haavamoa
Copy link

haavamoa commented Apr 6, 2023

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

  1. Create a File-> New -> Dotnet MAUI app
  2. 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"}});
  3. Start the app on iOS device or simulator
  4. Tap the button
  5. 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

@haavamoa haavamoa added the t/bug Something isn't working label Apr 6, 2023
@haavamoa haavamoa changed the title [Shell][iOS] When navigating between pages, the page you came from changes title [Shell][iOS] Page Title is wrong when navigating Apr 6, 2023
@Eilon Eilon added the area-controls-shell Shell Navigation, Routes, Tabs, Flyout label Apr 6, 2023
@rachelkang
Copy link
Member

Hi, @haavamoa - This issue has been fixed by #12888 and will be available in https://github.com/dotnet/maui/releases/tag/8.0.0-preview.3.8149

@rachelkang
Copy link
Member

Duplicate of #10945

@rachelkang rachelkang marked this as a duplicate of #10945 Apr 11, 2023
@angelru
Copy link

angelru commented Apr 12, 2023

This is not going to send to net 7? How are we going to send iOS applications to production?

@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants