We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm build a angular project that I can't get classList from svg use tag in IE11, for example:
<svg class="a b c> <use class="d e f" [attr.xlink:href]="iconPath"/> </svg>
I call classList of use tag in IE11, it just returned undefined. But if call classList of svg tag, it's working fine.
classList
use
undefined
svg
Note: iconPath is a component variable.
iconPath
The text was updated successfully, but these errors were encountered:
point to the version of classList.js U R using
Sorry, something went wrong.
^1.1.20150312
I'm having the same issue. 1.2.20171210
@SLYJason I just solved this, at least for my case.
From facebook/react#4963
add pointer-events: none to and elements.
svg, use { pointer-events: none; }
Worth mentioning this resolved my problem without needing classList polyfill after all.
No branches or pull requests
I'm build a angular project that I can't get classList from svg use tag in IE11, for example:
I call
classList
ofuse
tag in IE11, it just returnedundefined
. But if callclassList
ofsvg
tag, it's working fine.Note:
iconPath
is a component variable.The text was updated successfully, but these errors were encountered: