-
Notifications
You must be signed in to change notification settings - Fork 51
paper-tabs selected issue #118
Comments
Hi, @brusand. The case where the first tab is removed and the other one is then selected automatically is actually a by product of This behavior is pretty strange given that the selection changes whenever an item before the selected item in the list is removed - I'll bring it up / file an issue. For now, this means that if you would like to have different behavior for what happens when the selected item is removed you'll have to implement it yourself. (The However, the typical case of wanting to keep the selected item the same can be handled (with some awkwardness) using the PR #120 fixes the problem of the bar incorrectly updating when the items change. (The problem mentioned above is really outside the scope of |
Hi @bicknellr , Thanks for uour detailed response, i download your fix but the issue still remain. when i debug, it run like your first explication. 1/ onTabSelect : event.target.selected = 1 (ok the last list config) |
if i add this workaround in onTabSelect, it s work like a charm
|
Sorry about the confusing naming on that PR; it just fixes the problem of the selection bar not updating its position after the items change. |
From @brusand on December 29, 2015 22:19
hi the community
here is a coepen to illustrate my issue 👍 http://codepen.io/burno75/pen/LGbLoM
working : remove jack paper-tab -> annick selected and content 2 displayed OK
not working : remove annick paper-tab -> KO jack paper-tab not selected (and his iron-page content1 not visible)
Any idea ?
is there any compenent like chrome tabs ?
best regards
Bruno
Copied from original issue: Polymer/polymer#3248
The text was updated successfully, but these errors were encountered: