Open devanathan-vaithiyanathan opened 20 hours ago
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
Note: You can give me feedback by š or š this comment.
I want to confirm with you: I see that your repro step is not consistent with the project content you provided, and I did not use your project to repro your issue. Could you help confirm whether the project you provided is correct?
I want to confirm with you: I see that your repro step is not consistent with the project content you provided, and I did not use your project to repro your issue. Could you help confirm whether the project you provided is correct?
Hi @Ying-6 , Yes, I have provided the correct sample. Even if it contains any issues, please use this project for reproducing the issue. ShellContentTitleIssue.zip
Description
The issue occurs when the title of ShellContent does not update dynamically at runtime. Even after modifying the Title property of ShellContent via button click, the title remains unchanged in the UI.
Steps to Reproduce
Create a TabBar with nested ShellContent items. Add a button that changes the Title of the ShellContent when clicked. Run the app. Click the "Change Title" button.
AppShell.xaml
AppShell.xaml.cs
Expected Behavior: The title of the ShellContent (tab) should change to "New Title" when the button is clicked.
Actual Behavior: The title remains as "Home" and does not update when the button is clicked.
Link to public reproduction project repository
ShellContentTitleIssue
Version with bug
9.0.10 SR1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 18.0, mac 15.1
Did you find any workaround?
Not yet.
Relevant log output