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

Possible regex issue with CSS class names #2240

Closed
enchev opened this issue Jun 3, 2016 · 2 comments
Closed

Possible regex issue with CSS class names #2240

enchev opened this issue Jun 3, 2016 · 2 comments
Milestone

Comments

@enchev
Copy link
Contributor

enchev commented Jun 3, 2016

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

@nsndeck
Copy link

nsndeck commented Jun 17, 2016

Issue fixed with commit #2310.

@nsndeck nsndeck closed this as completed Jun 17, 2016
@enchev enchev added this to the 2.1 milestone Jun 17, 2016
@lock
Copy link

lock bot commented Aug 29, 2019

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.

@lock lock bot locked and limited conversation to collaborators Aug 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants