Skip to content

Commit 61c32cc

Browse files
donggyu04yyx990803
authored andcommitted
Fix: block unnecessary input event on input tag placeholder in IE (#8140)
1 parent e9fc04b commit 61c32cc

File tree

1 file changed

+1
-1
lines changed
  • src/platforms/web/runtime/modules

1 file changed

+1
-1
lines changed

src/platforms/web/runtime/modules/attrs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function baseSetAttr (el, key, value) {
9797
/* istanbul ignore if */
9898
if (
9999
isIE && !isIE9 &&
100-
el.tagName === 'TEXTAREA' &&
100+
(el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') &&
101101
key === 'placeholder' && !el.__ieph
102102
) {
103103
const blocker = e => {

0 commit comments

Comments
 (0)