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 #1799

Closed
rdlauer opened this issue Jun 2, 2016 · 1 comment
Closed

Possible regex issue with CSS class names #1799

rdlauer opened this issue Jun 2, 2016 · 1 comment

Comments

@rdlauer
Copy link
Contributor

rdlauer commented Jun 2, 2016

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

@enchev
Copy link
Contributor

enchev commented Jun 3, 2016

This issue was moved to NativeScript/NativeScript#2240

@enchev enchev closed this as completed Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants