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

[SearchSelect <搜索选择器>]: onSearch事件触发不正常 #737

Closed
gssggssg opened this issue Apr 2, 2022 · 1 comment
Closed

[SearchSelect <搜索选择器>]: onSearch事件触发不正常 #737

gssggssg opened this issue Apr 2, 2022 · 1 comment

Comments

@gssggssg
Copy link
Contributor

gssggssg commented Apr 2, 2022

描述错误

onSearch事件的 不仅仅 在文本框值变化时会进行回调
在移动浏览器控制台位置的时候会进行不正常的触发

错误复现

重现行为的步骤:

  1. 转到 uiw 的SearchSelect
  2. 打开 启用搜索 的 代码编辑
  3. 向 20行代码 handleSearch 函数 添加日志打印 console.log
  4. 可以打开控制台并上下移动控制台位置

预期行为

只希望在搜索文本框值变化时进行触发回调

截图

当我在xiu'gai修改代码的时候,也会触发
image

桌面(请填写以下信息):

  • UIW:4.18.0
  • 操作系统:win10
  • 浏览器:Chrome
  • 版本和构建: 100.0.4896.60(正式版本) (64 位)
@nullptr-z
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants