turbolinks / turbolinks-classic

Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
MIT License
3.54k stars 428 forks source link

SVG anchors not working with turbolinks #654

Open chrisvfritz opened 8 years ago

chrisvfritz commented 8 years ago

Turbolinks doesn't seem to work with anchors within SVG elements. It looks like I'm not the first person to encounter this, but I didn't see an issue on it. One potential reason is that the tagName method returns "a" for SVG anchors instead of "A" (in Chrome at least).

Also, in case any troubleshooters stumble upon this, here's a workaround I'm using until this is fixed.