From a6bfaee85f47f4f679009110a5a439dcf7737d9a Mon Sep 17 00:00:00 2001 From: christophe-g Date: Mon, 4 Mar 2019 14:08:39 +0100 Subject: [PATCH] make sure event.target is the real addons target --- paper-input-container.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-input-container.html b/paper-input-container.html index b886364a..d7e7e844 100644 --- a/paper-input-container.html +++ b/paper-input-container.html @@ -521,7 +521,7 @@ if (!this._addons) { this._addons = []; } - var target = event.target; + var target = event.composedPath ? event.composedPath()[0] : event.target; if (this._addons.indexOf(target) === -1) { this._addons.push(target); if (this.isAttached) {