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

ios 环境下使用input时用中文输入法,在输入拼音时会持续触发input事件 #3303

Open
akai-b opened this issue May 30, 2022 · 0 comments

Comments

@akai-b
Copy link

akai-b commented May 30, 2022

背景是需要做一个具有联想的搜索框,所以想用input事件没输入一个字就发送一次搜索请求

Describe the bug

在ios下使用自带的键盘,假如输入‘我’字,拼音‘w o',输入完成后会出发三次:‘w’,'wo','我',希望提供一个方法只有在输入完成后才触发或者能知道键盘的输入状态

To Reproduce

Environment

  • Device: iPhone13
  • OS:iOS15.4.0
  • Version0.18.0

Expected behavior

希望提供一个方法只有在输入完成后才触发或者能知道键盘的输入状态

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