diff --git a/src/layouts/partial-panel-resolver.html b/src/layouts/partial-panel-resolver.html index c9338df7af..f9abdc592d 100644 --- a/src/layouts/partial-panel-resolver.html +++ b/src/layouts/partial-panel-resolver.html @@ -99,13 +99,24 @@ class PartialPanelResolver extends Polymer.Element { }, () => { - this.errorLoading = true; + // a single retry of importHref in the error callback fixes a webkit refresh issue + if (!this.retrySetPanelForWebkit(panel)) { + this.errorLoading = true; + } }, true /* async */ ); } + retrySetPanelForWebkit(panel) { + if (this._retryingPanelChanged) { + return false; + } + this._retryingPanelChanged = true; + return this.panelChanged(panel); + } + updateAttributes() { var customEl = Polymer.dom(this.$.panel).lastChild; if (!customEl) return;