Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[iOS, Windows] Shell Navigation bar colors are not updated correctly when switching ShellContent #33227

@Vignesh-SF3580

Description

@Vignesh-SF3580

Description

In a Shell, a TabBar contains a tab with two ShellContent items. Shell.BackgroundColor and Shell.TitleColor are set on the page of the second ShellContent. When navigating back to the first ShellContent, the navigation bar on the first page still retains those colors on iOS. On Windows, only TitleColor is retained.

Steps to Reproduce

  1. Run the attached sample. NavBarColors.zip
  2. Navigate to Page2 — the navigation bar appears with colors.
  3. Navigate back to Page1 — the navigation bar still retains the previous page’s colors.

Expected behavior:
The navigation bar should use colors only on Page2. When navigating back to Page1, it should revert to the default colors.

Link to public reproduction project repository

No response

Version with bug

10.0.20

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-shellShell Navigation, Routes, Tabs, Flyoutpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions