diff --git a/core-list.html b/core-list.html index 0d84d9a..d4aa656 100644 --- a/core-list.html +++ b/core-list.html @@ -173,6 +173,9 @@ attached: function() { this.template = this.querySelector('template'); + if (!this.template.bindingDelegate) { + this.template.bindingDelegate = this.element.syntax; + } }, _resetSelection: function() { @@ -352,8 +355,8 @@ // are excluded as well. var active = window.ShadowDOMPolyfill ? wrap(document.activeElement) : this.shadowRoot.activeElement; - if (active && (active != this) && - (active.parentElement != this)) { + if (active && (active != this) && (active.parentElement != this) && + (document.activeElement != document.body)) { return; } // Unfortunately, Safari does not focus certain form controls via mouse,