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

[Issue]: Tag TextColor Property not Working #44

Open
2 tasks done
mikedotmundy opened this issue Oct 31, 2024 · 0 comments
Open
2 tasks done

[Issue]: Tag TextColor Property not Working #44

mikedotmundy opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working unverified This issue has not been verified yet

Comments

@mikedotmundy
Copy link

Describe the Issue in Detail

Per the documentation about Tags found here, the Property TextColor is supposed to set the text color on a Tag. However, it does not.

Consider the following code:

<Rock:Tag Text="{{ audience }}"
     BackgroundColor="{Rock:PaletteColor blue-200}"
     TextColor="{Rock:PaletteColor gray-700}" />

The text should be gray, but it does not work.

The only way to make it work is to define it in the Block Scoped CSS settings, like so:

.tag ^Label {
    color: #495057;
}

Can reproduce in

  • Orange App
  • Blue App

Steps to Reproduce

See above... just copy the code into a page and see that TextColor does not work.

Expected Behavior

TextColor property should work on a Tag.

Actual Behavior

TextColor property does not work on a Tag.

Screenshots or Videos

Here you can see that the "Students" text is gray ONLY because I have CSS defined in the Block Scoped CSS settings. Otherwise, the text would be white.

Screenshot 2024-10-31 at 12 22 07

Reproduction XAML

No response

Mobile Shell Version

v6.0.0.0

Last Known Working Version

I am not 100% sure, but I believe it was working pre-MAUI

iOS Device Type(s) and iOS Version(s)

iPhone 15 Pro Max, iOS 18.0.1

Android Device Type(s) and Android Version(s)

None tested

@mikedotmundy mikedotmundy added bug Something isn't working unverified This issue has not been verified yet labels Oct 31, 2024
@mikedotmundy mikedotmundy changed the title [Issue]: [Issue]: Tag TextColor Property not Working Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue has not been verified yet
Projects
None yet
Development

No branches or pull requests

1 participant