Skip to content

[BUG] StatusBarBehavior not reflected on back navigation #1194

@pikausp

Description

@pikausp

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When I navigate to a page that has a StatusBarBehavior and then back the previous colors are kept even if the page I returned to specifies a behavior with different colors.

Expected Behavior

The colors to change whenever a user navigates.

Steps To Reproduce

Click the Navigate button and then navigate back

Link to public reproduction project repository

https://github.com/pikausp/BackNavigationRepro

Environment

- .NET MAUI CommunityToolkit: 5.1.0
- OS: Android 13/iOS 16.4.1
- .NET MAUI: 7.0.86/7.0.100

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/behaviorsIssue/Discussion/PR that has to do with BehaviorsbugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions