From 0d7d513405e05f7bdf4e6cd4f0ca0955da16e9b5 Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 18 Nov 2019 12:53:38 +0100 Subject: [PATCH] fix(button): make click event work in ie11 --- packages/button/src/LionButton.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/button/src/LionButton.js b/packages/button/src/LionButton.js index 1fbd05943..ef76bf78a 100644 --- a/packages/button/src/LionButton.js +++ b/packages/button/src/LionButton.js @@ -185,10 +185,6 @@ export class LionButton extends DisabledWithTabIndexMixin(SlotMixin(LitElement)) * without side effects caused by the click bubbling back up to lion-button. */ __clickDelegationHandler(e) { - if (this.constructor.__isIE11()) { - e.stopPropagation(); - } - if ((this.type === 'submit' || this.type === 'reset') && e.target === this) { if (this._form) { const nativeButton = document.createElement('button');