Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6f5a70

Browse files
committed
v-model: do not fire listener at compositionend in lazy mode (fixvuejs#1327)
1 parent9139fc8 commite6f5a70

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/directives/model/text.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ module.exports = {
3232
// in IE11 the "compositionend" event fires AFTER
3333
// the "input" event, so the input handler is blocked
3434
// at the end... have to call it here.
35-
self.listener()
35+
//
36+
// #1327: in lazy mode this is unecessary.
37+
if(!lazy){
38+
self.listener()
39+
}
3640
})
3741
}
3842

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp