Skip to content

Commit

Permalink
Fix: block unnecessary input event on input tag placeholder in IE (vu…
Browse files Browse the repository at this point in the history
  • Loading branch information
donggyu04 authored and hefeng committed Jan 25, 2019
1 parent 4a444ff commit d44d235
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 d44d235

Please sign in to comment.