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

search-bar 点击清除后输入框失焦 #289

Closed
chenhebing opened this issue Jul 23, 2019 · 3 comments
Closed

search-bar 点击清除后输入框失焦 #289

chenhebing opened this issue Jul 23, 2019 · 3 comments

Comments

@chenhebing
Copy link

搜索组件,点击 clear 后,失去了焦点,这个交互不太合理,和 取消的交互一致了

看了下组件的 handleClear 里面注释了 获取焦点的代码,不清楚为啥要这么做?

 // this.setData({
 //   focus: true,
 // });
@chenhebing
Copy link
Author

image

那目前是没法在清除的时候 获取焦点吗?

@linxz
Copy link
Contributor

linxz commented Sep 12, 2019

曾经这个自动获得会让某些安卓手机在使用搜狗输入法时出现问题。近期将会调整,换个方式处理。

@linxz
Copy link
Contributor

linxz commented Sep 24, 2019

已在 0.4.34 版本中修复该问题。

@linxz linxz closed this as completed Sep 24, 2019
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

2 participants