From 4097ce3aba86e737741507395fbcbc829887fa7f Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Tue, 12 Jun 2018 11:31:57 +0300 Subject: [PATCH] Revert click delegation to the first child. The delegation breaks overlays (such as dialog). --- .../resources/frontend/flow-component-renderer.html | 9 --------- 1 file changed, 9 deletions(-) diff --git a/flow-data/src/main/resources/META-INF/resources/frontend/flow-component-renderer.html b/flow-data/src/main/resources/META-INF/resources/frontend/flow-component-renderer.html index 0a80984c140..d7d7c22f9a9 100644 --- a/flow-data/src/main/resources/META-INF/resources/frontend/flow-component-renderer.html +++ b/flow-data/src/main/resources/META-INF/resources/frontend/flow-component-renderer.html @@ -19,15 +19,6 @@ ] } - ready(){ - super.ready(); - this.addEventListener("click", function(){ - if (this.firstChild && typeof this.firstChild.click === "function" ){ - this.firstChild.click(); - } - }); - } - _asyncAttachRenderedComponentIfAble() { this._debouncer = Polymer.Debouncer.debounce( this._debouncer,