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

Unable to dynamically set unselected IconImageSource Color on Android #26662

Open
Croppo opened this issue Dec 17, 2024 · 2 comments · May be fixed by #26757
Open

Unable to dynamically set unselected IconImageSource Color on Android #26662

Croppo opened this issue Dec 17, 2024 · 2 comments · May be fixed by #26757
Labels
area-controls-tabbedpage TabbedPage partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@Croppo
Copy link

Croppo commented Dec 17, 2024

Description

In my app, I have a TabbedPage with tabs that each have a title and an IconImageSource. The desired behavior is for one of the tab icons to always display in a red emergency color, regardless of whether the tab is selected or not.

While this works as expected on iOS, where the color is applied correctly regardless of selection state, the issue arises on Android. On Android, the icon color only updates when the tab is selected, and the unselected color is not applied as intended.

Attached are images for reference, showing the issue.

I previously raised a similar issue regarding the ability to manipulate the UnselectedTabColor. It was clarified that the expected behavior is for all unselected tab colors to be the same, which is fine since the title color does not need to change.

This new issue pertains specifically to the IconImageSource not updating. While this works as expected on iOS, it does not update on Android. Given this discrepancy, I believe this to be a bug.

Steps to Reproduce

  1. Clone Repo
  2. Scroll through and view Tabs

Link to public reproduction project repository

https://github.com/Croppo/MauiTabbedIconColourRepro

Version with bug

8.0.90 SR9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@Croppo Croppo added the t/bug Something isn't working label Dec 17, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@Croppo Croppo changed the title Unable to dynamically set Unselected IconImageSource Color on Android Unable to dynamically set unselected IconImageSource Color on Android Dec 17, 2024
@Ying-6
Copy link

Ying-6 commented Dec 17, 2024

This issue has been verified using Visual Studio 17.13.0 Preview 2.0 (9.0.21 & 8.0.100 & 8.0.90 & 8.0.83). Can repro it on Android Platform.

@Ying-6 Ying-6 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Dec 17, 2024
@vishnumenon2684 vishnumenon2684 added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 17, 2024
@PureWeen PureWeen added this to the .NET 9 Servicing milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-tabbedpage TabbedPage partner/syncfusion Issues / PR's with Syncfusion collaboration platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
5 participants