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

Fixed NavigationPage Title property #24781

Merged
merged 5 commits into from
Sep 24, 2024
Merged

Conversation

Vignesh-SF3580
Copy link
Contributor

@Vignesh-SF3580 Vignesh-SF3580 commented Sep 16, 2024

Root Cause

The issue occurred because the title was being updated based on the current page in the NavigationPage, which prevented the NavigationPage's title from being updated correctly.

Description of Change

The fix ensures that the NavigationPage's title is now updated when it is not null, so the correct title is always displayed.

Tested the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

Issues Fixed

Fixes #19859

Screenshots

Before
image

After
image

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 16, 2024
Copy link
Contributor

Hey there @Vignesh-SF3580! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@Vignesh-SF3580 Vignesh-SF3580 marked this pull request as ready for review September 17, 2024 16:36
@Vignesh-SF3580 Vignesh-SF3580 requested a review from a team as a code owner September 17, 2024 16:36
@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@rmarinho rmarinho merged commit e0b3526 into dotnet:main Sep 24, 2024
97 checks passed
redducks100 pushed a commit to redducks100/maui that referenced this pull request Sep 24, 2024
* Fixed-19859 : NavigationPage: Title not updating

* test cases added.

* testcases updated.

* updated Issue19859.xaml

* Added snapshots.
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Oct 1, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.2.24503.2 fixed-in-net8.0-nightly This may be available in a nightly release! and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-navigation NavigationPage community ✨ Community Contribution fixed-in-9.0.0-rc.2.24503.2 fixed-in-net8.0-nightly This may be available in a nightly release! platform/iOS 🍎
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NavigationPage: BarBackgroundColor, BarTextColor and Title not updating
6 participants