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

[BUG] IconTintColor Not Applied While Converting MAUI View to Platform View #2118

Open
2 tasks done
surya3655 opened this issue Aug 14, 2024 · 0 comments
Open
2 tasks done
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified

Comments

@surya3655
Copy link

surya3655 commented Aug 14, 2024

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

Description

The issue arises when converting a MAUI View containing an image with a tint color to a platform-specific native view (e.g., Windows or Android). The IconTintColor behavior, which should apply a color tint to the image, is not preserved during the conversion process.

Expected Behavior

Android
image
Windows
image

Steps To Reproduce

Steps to Reproduce

1.Create a CustomView with an ItemContent property of type View and an ItemTemplate property of type DataTemplate.
2. Add a CustomView handler for platform-specific implementations.
3.On the Windows platform, create a CustomControl derived from ContentControl.
4.On the Android platform, create a CustomControl derived from FrameLayout.
5.When adding an image to the ItemContent and ItemTemplate, the IconTintColor behavior is not applied.

Link to public reproduction project repository

(https://github.com/surya3655/TintColor-Issue.git)

Environment

- .NET MAUI CommunityToolkit:9.0.2
- OS:Edition	Windows 11 Enterprise Version	23H2
- .NET MAUI: 8.0.40

Anything else?

No response

@surya3655 surya3655 added bug Something isn't working unverified labels Aug 14, 2024
@vhugogarcia vhugogarcia added the area/behaviors Issue/Discussion/PR that has to do with Behaviors label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants