Open leroix opened 7 years ago
Running into this issue as well. My urls are unexpectedly being set to [object SVGAnimatedString]
.
@wavejumper I saw that you replied to this thread (was notified via email), but it seems to be missing. You mentioned updating the logic, but I haven't seen any updates of this nature on master.
@levitanong Yeah, sorry about that! I only understood the nature of this problem after I made my comment.
I'll merge in @leroix PR this weekend when I get the chance. Apologies for the delay
Oh okay! Awesome. Thanks guys!
area
tags also have href
attributes.
It's common to use svg's in anchor tags with xlink'ing. Occassionally, a click will target the
use
tag, and since it has anhref
attribute,recur-href
will stop there instead of iterating up to the anchor tag.Shouldn't the
recur-href
function check whether the element is an anchor tag?related: https://github.com/kibu-australia/pushy/issues/15