You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
I'm migrating some code from 0.5.2 to 1.0.2 and am seeing some inconsistent behavior out of my paper-tabs. #selectionBar can go missing and the trouble seems to relate to the fact that I'm hiding the paper-tabs in certain situations.
My original code used a conditional template to swap out toolbars (one of which contains the tabs) whenever certain pages are selected. I tried to work-around the problems by using a conditional hidden$ attribute instead of a dom-if.
My general setup is that I've bound a set of paper-tabs and neon-animated-pages to a selected property:
When pages 1 or 2 (inbox, outbox) are selected, the toolbar containing the tabs is visible. When page 3 (compose) is selected (by clicking the create icon), I replace the toolbar w/ one that is context-appropriate for that page's function. The 3rd pages toolbar has a declarative on-tap event that changes selected back to one of the other pages...
I'm migrating some code from 0.5.2 to 1.0.2 and am seeing some inconsistent behavior out of my paper-tabs.
#selectionBar
can go missing and the trouble seems to relate to the fact that I'm hiding the paper-tabs in certain situations.My original code used a conditional template to swap out toolbars (one of which contains the tabs) whenever certain pages are selected. I tried to work-around the problems by using a conditional
hidden$
attribute instead of adom-if
.My general setup is that I've bound a set of paper-tabs and neon-animated-pages to a selected property:
When pages 1 or 2 (inbox, outbox) are selected, the toolbar containing the tabs is visible. When page 3 (compose) is selected (by clicking the create icon), I replace the toolbar w/ one that is context-appropriate for that page's function. The 3rd pages toolbar has a declarative on-tap event that changes
selected
back to one of the other pages...Note: The correct page is always being displayed.
These numbered items correspond to the image below:
showPreviousPage
sets selected back to 0.Clicking back on "Inbox" (selected = 0) does get everything back to a correct looing state (like figure 1).
The text was updated successfully, but these errors were encountered: