TabbedPage doesn't change icon colour #23174
Labels
area-controls-tabbedpage
TabbedPage
fixed-in-9.0.0-rc.2.24503.2
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
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
The TabbedPage doesn't change the icon colour as the tabs are selected/unselected. The title text changes ok.
Using a PNG, instead of an Icon works too, and the colour changes in sync with the title text.
This was working on Xamarin.Forms and works on Android .NET Maui with some tweaks.
Steps to Reproduce
Create a new maui app.
Add fontawesome
Add a tabbed page with content and set the title and icon for each.
See reproduction project for details.
Link to public reproduction project repository
https://github.com/richaplinvs/reproduction-projects/tree/main/maui/TabbedSelectionIssue
Version with bug
9.0.0-preview.4.10690
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
iOS 17.4, Android Api 33
Did you find any workaround?
On Android changing the position of the toolbar:
or tab colours:
On iOS use the OnAppearing/OnDisappearing in each of the tabs content page to set the colour. This requires creating a new instance of FontImageSource each time because the Color property cannot be set on it's own.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: