From 2c9210f2ad8a38533bb756a35c420fa80c33ac91 Mon Sep 17 00:00:00 2001 From: Tomasz Malinowski Date: Mon, 21 Jan 2019 20:40:19 +0100 Subject: [PATCH] RUN-4879 Fix problem with multiple shadow roots creation --- .../vendor/openfin_hypergrid_polymer/fin-hypergrid.dev.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/javascript/vendor/openfin_hypergrid_polymer/fin-hypergrid.dev.html b/src/javascript/vendor/openfin_hypergrid_polymer/fin-hypergrid.dev.html index 1deb6c0..5520ec5 100644 --- a/src/javascript/vendor/openfin_hypergrid_polymer/fin-hypergrid.dev.html +++ b/src/javascript/vendor/openfin_hypergrid_polymer/fin-hypergrid.dev.html @@ -10326,8 +10326,10 @@ */ shadowFromTemplate: function(template) { if (template) { - // make a shadow root - var root = this.createShadowRoot(); + var root = this.shadowRoot; + if (root === null) + // make a shadow root + root = this.createShadowRoot(); // stamp template // which includes parsing and applying MDV bindings before being // inserted (to avoid {{}} in attribute values)