Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
IconTintColorBehavior for image is reset to black color when you navigate to another page then back to current page.
Expected Behavior
IconTintColorBehavior for image should remain the same when navigate to another page then to the current page.
Steps To Reproduce
- Set IconTintColorBehavior of an Image to red color for example.
- Navigate to another page using Shell.GotoAsync.
- Go back to the previous page, where icon is tinted to red.
- Notice the tinted image is reset back to black color.
Note: I noticed this issue in the latest version community toolkit sample project as well.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui/tree/main/samples
Environment
- .NET MAUI CommunityToolkit: 9.0.1
- OS: Windows
- .NET MAUI: 8.0.60
Anything else?
No response