Closed noreikat closed 10 years ago
Invoking document.querySelector('core-scroll-header-panel').measureHeaderHeight()
in the callback of Polymer.import()
helps. It seems that adding new Polymer imports invokes Polymer('core-scroll-header-panel', { publish: { ..., headerHeight: 0, ...} })
again.
No need for that workaround anymore
Importing new Polymer elements dynamically (with
Polymer.import()
ordocument.head.appendChild(link))
breaks the header's scrolling behavior.