-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Specific id selector doesnt work #281
Comments
Haha what weird bug. You can use The issue is because the |
@alexchantastic Wow, never would have thought of that ha. Would it be better to use |
|
Ah okay, that makes sense. I just switched it to a class, but its an interesting edge case. |
I think it's legacy code from 1.x, looking at the code I don't think it's needed anymore. |
@juliangarnier Happy to help! |
Should be fixed in V3 ! |
It might be useful to print the error message. I thought I had this same issue, but it turns out you can't simply use an id starting with a number in a CSS selector. There's a workaround, using |
Working on a project where a couple of SVG group elements have id's of "mom" and "dad".
For whatever reason
id="dad"
just does not work. Very strange - heres a fiddle with regular<div>
's reproducing the problem.https://jsfiddle.net/cw1Lk5qq/4
The text was updated successfully, but these errors were encountered: