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

fix: keyboard not shown when keyboard dismissed and input gets focused again #627

Merged
merged 1 commit into from
Aug 24, 2021

Conversation

temper357
Copy link
Contributor

Closes #625

  • 修复当使用键盘上右上角的收起按钮收起键盘后,再次点击 input,键盘未调出。原因是收起键盘时 input 仍然处于 focus 状态(关于这点 android 与 ios 表现不同,android 上收起键盘 input 仍处于 focus 状态而 ios 上 input 会失焦),原逻辑只有当 input 获取焦点时才会调起键盘,应改成 input 每次状态变化(如光标位置变化)时均调起键盘。

@temper357 temper357 added this to In Progress in Browser Features via automation Aug 24, 2021
@temper357 temper357 added this to the 0.9 milestone Aug 24, 2021
@answershuto answershuto merged commit 1780165 into main Aug 24, 2021
Browser Features automation moved this from In Progress to Done Aug 24, 2021
@answershuto answershuto deleted the fix/input-keyboard-show branch August 24, 2021 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

input 在编辑状态下收起键盘再点击后键盘无法调起
3 participants