Open thom4parisot opened 5 years ago
Hello,
Thanks for maintaining this project. I read #391 and assumed clicking on SVG links is handled by page.
page
I use page with hashbang:true as an option within a single page app. The following code will redirect to #!/#!/test instead of #!/test:
hashbang:true
#!/#!/test
#!/test
<svg viewBox="0 0 400 400" xmlns:xlink="http://www.w3.org/1999/xlink"> <a xlink:href="#!/test">Test</a> </svg>
It looks like the URL is understood as /#!/finance-details/M52-DF-02.
/#!/finance-details/M52-DF-02
If I try with xlink:href="./#!/test", page redirects me to #!/./#!/test.
xlink:href="./#!/test"
#!/./#!/test
👁 https://jsfiddle.net/o034ukef/1/
Hello,
Thanks for maintaining this project. I read #391 and assumed clicking on SVG links is handled by
page
.I use
page
withhashbang:true
as an option within a single page app. The following code will redirect to#!/#!/test
instead of#!/test
:It looks like the URL is understood as
/#!/finance-details/M52-DF-02
.If I try with
xlink:href="./#!/test"
,page
redirects me to#!/./#!/test
.👁 https://jsfiddle.net/o034ukef/1/