Skip to content

Text color of the Button not applied, when text-transform has been set. #2601

@tsonevn

Description

@tsonevn

In case you want to change text color of a Button, while text-transform has been set to uppercase or lowercase, the color of the text would not be applied. This issue is reproducible only for iOS. I am attaching sample code:

main-page.xml

<Page xmlns="http://schemas.nativescript.org/tns.xsd">
  <StackLayout>
    <Label text="labelLabel" style="text-transform: uppercase; color:red;"/>
    <Button text="buttonButton" style=" color:red; text-transform: uppercase; " />
    <TextField text="textField" style="text-transform: uppercase; color:red;"/>
    <TextView text="textView" style="text-transform: uppercase;  color:red;" />
  </StackLayout>
</Page>

tns-core-modules:2.2.0
tns-ios:2.2.1
CLI: 2.2.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions