Selection bar disappears when changing selected attribute
I'm using paper-tabs with links inside them in the Polymer Starter Kit, and so I'm using the routing setup that it comes with for my content. My iron-pages selected attribute is set to {{route}}, but when I changed my paper-tabs selected attribute from {{selected}} to {{route}} the selection bar disappears. The text still goes bold to indicate that it has been selected.
Same here, but I don't even have a font change. I am using <a href> inside the <paper-tab>.
I'm also using the anchor tag.
This seems to be related to #97.
The cause of this issue seems to be that that _tabChanged is called before var r = this.$.tabsContent.getBoundingClientRect(); returns the actual dimensions of the tab content.
This is in turn caused if _onIronSelect is called instantly on element initialization.
I'll look into a solution and create a PR once I have a bit more time.
@WaverleyDesign You need to run notifyResize in this case.
Hey guys. This issue seems to still exist. Is there a possibility of looking into this? I believe @kristfal was correct in finding what is causing the issue as debugging has shown that the width is registered as 0.