Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing with Chinese IME in a v-model bound input with a keydown listener #3894

Closed
Leopoldthecoder opened this issue Oct 10, 2016 · 0 comments

Comments

@Leopoldthecoder
Copy link

This issue concerns Chinese IME, which I think only affects Chinese users, so the following will be in Chinese.

Vue.js version

2.0.1

Reproduction Link

https://jsfiddle.net/o1ws93ca/

Steps to reproduce

使用 macOS 自带的中文输入法在输入框进行输入

What is Expected?

每按下一个键,输入框长度变长,文字能够正常输入

What is actually happening?

每按下一个键,输入框长度变长,但是文字无法正常输入

补充:

  1. 代码的第 21 至 23 行,删去任意一行后,问题就不存在了
  2. Vue 1.0.26 版本没有这个问题:https://jsfiddle.net/uk5jfrmv/
  3. 在 macOS 上,搜狗输入法和百度输入法没有这个问题;windows 没有测试
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant