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

Fix Provided consistent behavior of text color in tabbed page in all platforms. #24782

Draft
wants to merge 1 commit into
base: net9.0
Choose a base branch
from

Conversation

devanathan-vaithiyanathan
Copy link

@devanathan-vaithiyanathan devanathan-vaithiyanathan commented Sep 16, 2024

Root cause

The UnselectedBarTextColor was being set to null, causing the UITabBar to fallback to its default tint color. This resulted in inconsistent and unexpected colors for the unselected tab text.

Description of Change

Instead of setting the UnselectedBarTextColor to null, the fix ensures the BarTextColor property is used. If the BarTextColor is set, it is applied; otherwise, null

Validated the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 16, 2024
Copy link
Contributor

Hey there @devanathan-vaithiyanathan! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-tabbedpage TabbedPage community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants