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
If you're using the xlink:href attribute for external svgs, like this:
xlink:href
<a class="spf-link" href="/"><svg><use xlink:href="sprite.svg#logo"></use></svg></a>
Then during clicks nav.getAncestorWithHref_ will return the use element, causing an error later on when assuming the href attribute is a string.
nav.getAncestorWithHref_
use
href
I've used css pointer-events to avoid the problem in my project but wanted to flag the issue.
pointer-events
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you're using the
xlink:href
attribute for external svgs, like this:<a class="spf-link" href="/"><svg><use xlink:href="sprite.svg#logo"></use></svg></a>
Then during clicks
nav.getAncestorWithHref_
will return theuse
element, causing an error later on when assuming thehref
attribute is a string.I've used css
pointer-events
to avoid the problem in my project but wanted to flag the issue.The text was updated successfully, but these errors were encountered: