The problem occurs when the paper drawer panel widget is removed and new instance is added to the DOM again.I have tried out both the apis(widget api and elemental api) but both shows the same behaviour.Polymer.whenReady() also fails to solve the issue.
On further inspecting the DOM i have noticed that DOM changes when it is reinitialized.
Initially the contained widgets are added inside an iron selector
On clicking the button on the header panel,the paper-drawer-panel gets reinitialized.Now the contained widgets are added at the same level as iron selector.
Please check the demo project to reproduce the issue.
Demo Project
The problem occurs when the paper drawer panel widget is removed and new instance is added to the DOM again.I have tried out both the apis(widget api and elemental api) but both shows the same behaviour.Polymer.whenReady() also fails to solve the issue.
On further inspecting the DOM i have noticed that DOM changes when it is reinitialized. Initially the contained widgets are added inside an iron selector
On clicking the button on the header panel,the paper-drawer-panel gets reinitialized.Now the contained widgets are added at the same level as iron selector.
Please check the demo project to reproduce the issue.
Demo Project