ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

a-auto-complete 组件 blur事件bug

Open tiansQAQ opened this issue 1 year ago • 3 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.2

Environment

"vue": "2.5.17" chrome 116.0.5845.187(正式版本) (x86_64)

Reproduction link

Edit on CodeSandbox

Steps to reproduce

auto-complete 获得焦点后,点击button按钮click。出现bug:先触发click再触发了blur事件。 看源码是auto-complete的blur事件加了200ms定时器,这是为什么?

What is expected?

应该先触发auto-complete的blur事件,再触发button的click事件。

What is actually happening?

auto-complete 获得焦点后,点击button按钮click。出现bug:先触发click再触发了blur事件。 看源码是auto-complete的blur事件加了200ms定时器,这是为什么?

tiansQAQ avatar Jan 25 '24 02:01 tiansQAQ

请看重现链接,尽快修复。这个bug导致线上项目出现bug。

tiansQAQ avatar Jan 25 '24 02:01 tiansQAQ

1.x好像已经不维护了

bsuooo avatar Jan 26 '24 03:01 bsuooo

1.x好像已经不维护了

这应该是个大bug。影响正常业务了。

tiansQAQ avatar Jan 26 '24 06:01 tiansQAQ

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 27 '24 02:03 github-actions[bot]