Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit b51cf7a

Browse files
author
Yvonne Yip
committed
only re-fire 'change' if native shadow DOM
1 parent a0f20ef commit b51cf7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core-input.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,10 @@
226226

227227
inputChangeAction: function() {
228228
this.value = this.inputValue;
229-
// re-fire non-bubbling event
230-
this.fire('change', null, this, false);
229+
if (!window.ShadowDOMPolyfill) {
230+
// re-fire non-bubbling event
231+
this.fire('change', null, this, false);
232+
}
231233
},
232234

233235
focusAction: function() {

0 commit comments

Comments
 (0)