We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b997af0 commit 98326ceCopy full SHA for 98326ce
src/platforms/web/runtime/directives/model.js
@@ -31,6 +31,11 @@ export default {
31
} else if (vnode.tag === 'textarea' || el.type === 'text' || el.type === 'password') {
32
el._vModifiers = binding.modifiers
33
if (!binding.modifiers.lazy) {
34
+ // Safari < 10.2 & UIWebView doesn't fire compositionend when
35
+ // siwtching focus before confirming composition choice
36
+ // this also fixes the issue where some browsers e.g. iOS Chrome
37
+ // fires "change" instead of "input" on autocomplete.
38
+ el.addEventListener('change', onCompositionEnd)
39
if (!isAndroid) {
40
el.addEventListener('compositionstart', onCompositionStart)
41
el.addEventListener('compositionend', onCompositionEnd)
0 commit comments