paper-tabs icon indicating copy to clipboard operation
paper-tabs copied to clipboard

paper-tab link not working when anchor inside a custom-element

Open avizcaino opened this issue 7 years ago • 0 comments

Description

I have the following structure in my paper-tabs:

<paper-tabs>
   <paper-tab link>
      <custom-element>
         <a href="#/link" tabindex="-1">
      </custom-element>
   </paper-tab>
<paper-tabs>

But the link is only in the anchor, and does not fill all the tab. This works if the anchor is directly a child of paper-tab. Is there any solution to this?

Expected outcome

Link fills all paper-tab.

Actual outcome

Link is only in anchor element.

Live Demo

Steps to reproduce

  1. Put a custom-element with an anchor inside a paper-tab.
  2. Click the paper-tab element.
  3. Click the anchor element.

Browsers Affected

  • [X] Chrome
  • [X] Firefox
  • [X] Safari 9
  • [X] Safari 8
  • [X] Safari 7
  • [X] Edge
  • [X] IE 11
  • [X] IE 10

avizcaino avatar Nov 17 '17 10:11 avizcaino