Skip to content

Possible regex issue with CSS class names #1799

@rdlauer

Description

@rdlauer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions