Skip to content

Possible regex issue with CSS class names #2240

Closed

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

Activity

  1. nsndeck commented on Jun 17, 2016

    @nsndeck

    Issue fixed with commit #2310.

  2. added this to the 2.1 milestone on Jun 17, 2016
  3. lock commented on Aug 29, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked and limited conversation to collaborators on Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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