Unable to dynamically set unselected IconImageSource Color on Android #26662
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
Milestone
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
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
The text was updated successfully, but these errors were encountered: