Skip to content

Commit

Permalink
Fix: block unnecessary input event on input tag placeholder in IE (#8140
Browse files Browse the repository at this point in the history
)
  • Loading branch information
donggyu04 authored and yyx990803 committed Oct 24, 2018
1 parent e9fc04b commit 61c32cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/web/runtime/modules/attrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function baseSetAttr (el, key, value) {
/* istanbul ignore if */
if (
isIE && !isIE9 &&
el.tagName === 'TEXTAREA' &&
(el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') &&
key === 'placeholder' && !el.__ieph
) {
const blocker = e => {
Expand Down

0 comments on commit 61c32cc

Please sign in to comment.