You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
SVGElementInstances are created when you use "use" element in SVG to wrap the original element.
An SVGElementInstance has no "nodeName" property, which causes a click handler in the $locationProvider to fail.
SSCCE at http://plnkr.co/edit/HpiObOlF2MESe9OiRncW
Other browsers seem to use the "use" element itself in event handling, so that the error does not happen there.
I am not really sure what the spec-compliant handling would be here, but it should be easy to work around in angular itself (for example using "correspondingUseElement" property).
The text was updated successfully, but these errors were encountered:
so I don't think we actually want the click handler to follow this link because the xlink:href is just linking to a different element, we want this to abort.
Would you care to submit a patch to fix this? It should be pretty simple (although I have said that before and turned out to be incorrect in the past)
Ah, thanks for researching that!
That's fine with me: It doesn't really break anything for now and if it's fixed in the next Chrome version that's great!
SVGElementInstances are created when you use "use" element in SVG to wrap the original element.
An SVGElementInstance has no "nodeName" property, which causes a click handler in the $locationProvider to fail.
SSCCE at http://plnkr.co/edit/HpiObOlF2MESe9OiRncW
See also disconnectme/disconnect#228
Other browsers seem to use the "use" element itself in event handling, so that the error does not happen there.
I am not really sure what the spec-compliant handling would be here, but it should be easy to work around in angular itself (for example using "correspondingUseElement" property).
The text was updated successfully, but these errors were encountered: