-
Notifications
You must be signed in to change notification settings - Fork 405
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
[BUG] IconTintColorBehavior is reset when navigate to another page then back #1957
Comments
Thanks for logging this. I'm experiencing the same issue. Also seeing the tint color reset to white after a DataTrigger changes the tint color and then changes it back. |
Thanks for this. I'm experiencing the same issue on IOS even when the app goes background and then comes back. |
Hi all, just to know. this issue is also on IOS. The fix above is also for IOS? |
I've noticed that by forcing a property change on the control that the image button has the behavior on will cause it to reevaluate it. Sadly this work around doesn't work if the Image buttons are in a collection. |
Hi, |
I have similar issue with a |
Hi, |
@TheSundayDev can you please try testing the result of this PR: #2304 and add in the |
Hi, |
I get your point but that would be a behavioral change. We haven't had many people report this issue so either they aren't seeing it or aren't using the behavior. If it's a common issue then it would be wise to change the default behavior |
Thanks a lot for your super quick answer, thanks! |
@TheSundayDev you can follow this page to pull down the build from the PR: https://github.com/CommunityToolkit/Maui/wiki/Preview-Packages |
hi, |
Hi, no news for this PR? |
We have some pipeline failures which I haven't worked out the cause yet. You can probably still grab the preview build though |
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
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
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
Anything else?
No response
The text was updated successfully, but these errors were encountered: