Skip to content
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

Image Tint Color Overwritten When Updating Image Source in .NET MAUI - iOS #27201

Open
Rajkumarcs41 opened this issue Jan 17, 2025 · 1 comment
Labels
migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@Rajkumarcs41
Copy link

Description

When updating the Source property of an Image control in .NET MAUI, the applied TintColor is unexpectedly reset or overridden. This behavior is not consistent with expected functionality, as the TintColor should persist unless explicitly modified.

Steps to Reproduce

  1. Create a simple Image control with a Source and a TintColor property defined.
  2. Dynamically update the Source property of the Image (e.g., on a button click or data binding update).
  3. Observe that the TintColor is reset or removed after updating the Source.

Link to public reproduction project repository

https://github.com/Rajkumarcs41/TintColorIssue

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@Rajkumarcs41 Rajkumarcs41 added the t/bug Something isn't working label Jan 17, 2025
@Rajkumarcs41 Rajkumarcs41 changed the title Image Tint Color Overwritten When Updating Image Source in .NET MAUI Image Tint Color Overwritten When Updating Image Source in .NET MAUI - iOS Jan 17, 2025
@Ying-6 Ying-6 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert labels Jan 17, 2025
@Ying-6
Copy link

Ying-6 commented Jan 17, 2025

This issue has been verified using Visual Studio 17.13.0 Preview 2.1 (9.0.30 & 9.0.21 & 9.0.14). Can repro on iOS platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants