paper-item linking isn't passing cross-browser test

87 views
Skip to first unread message

ad...@hashworks.net

unread,
Sep 21, 2014, 11:54:09 AM9/21/14
to polym...@googlegroups.com
I tried various approches to get links in paper-items to work in most browsers.

Links open in Chrome Desktop and Firefox Desktop, but not in Chrome Android:
<paper-item icon="social:post-github" label="Github">
<a href="https://github.com/hashworks" target="_blank"></a>
</paper-item>
(that's how one should do it according to the docu)

Links open in Chrome Desktop, Chrome Android and Firefox Desktop, but the paper-items look empty in Firefox Desktop (example):
<a href="https://github.com/hashworks" target="_blank">
<paper-item icon="social:post-github" label="Github"></paper-item>
</a>


Links open in Chrome Desktop and Chrome Android once, but twice in Firefox Desktop:
<paper-item onclick="this.getElementsByName('a')[0].click()" icon="social:post-github" label="Github">
<a href="https://github.com/hashworks" target="_blank"></a>
</paper-item>



Is there any good workaround to get in working in major browsers?

Rob Dodson

unread,
Sep 21, 2014, 5:44:11 PM9/21/14
to ad...@hashworks.net, polymer-dev
That sounds like it could be a bug. Would you mind filing this on the paper-item repo: https://github.com/polymer/paper-item

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/110045c5-68b5-4de9-b737-78e7d0ee7f9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ad...@hashworks.net

unread,
Sep 25, 2014, 7:20:06 AM9/25/14
to polym...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages