Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paper-tabs widget not always selecting under Chrome 44 #48

Closed
petearvanitis opened this issue Aug 6, 2015 · 1 comment
Closed

paper-tabs widget not always selecting under Chrome 44 #48

petearvanitis opened this issue Aug 6, 2015 · 1 comment

Comments

@petearvanitis
Copy link

Using widgets, I'm noticing that if you set the selected attribute the tab is not always selected by default. In addition, clicking on a tab won't select it.

This is my simple test case:

<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:pw='urn:import:com.vaadin.polymer.paper.widget'

<g:HTMLPanel>
    <pw:PaperTabs selected="1">
        <pw:PaperTab>Tab 1</pw:PaperTab>
        <pw:PaperTab>Tab 2</pw:PaperTab>
        <pw:PaperTab>Tab 3</pw:PaperTab>
    </pw:PaperTabs>
</g:HTMLPanel>

/ui:UiBinder

tabexample1

This is under chrome 44 using 1.0.2.0-alpha3. I don't know if this issue appears in earlier versions of chrome or not.

Under firefox and IE, this does not seem to be an issue, it appears to work 100% of the time.

In addition, if I forgo the widget and use the element approach instead, it appears to work fine under Chrome 44.

Also, if I use the Element approach on Chrome 44, the tab seems to function normally.

tabexample2

If I refresh the widget version of the page enough times, the line does appear and it becomes selectable (maybe 1 time out of 10).

@petearvanitis
Copy link
Author

Just realized I posted this to the wrong-group. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant