Skip to content

Possible regex issue with CSS class names #2240

@enchev

Description

@enchev

From @rdlauer on June 2, 2016 20:19

It appears that there may be some confusion with CSS class names that contain other class names, leading to problems with the way styles are parsed. It appears to only be a problem on Android. For instance, in this repo, I have these classes: .button, .button-assertive, and .button-assertive-outlined.

For example, this button element doesn't load the button-assertive class: <Button class="button button-assertive" text="assertive" />

...but if you remove the .button-assertive-outlined class from the CSS file, it does work. Again, works on iOS, but this problem only comes up on Android.

cc @tjvantoll

Copied from original issue: NativeScript/nativescript-cli#1799

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions