Skip to content

a-auto-complete 组件 blur事件bug #7310

@tiansQAQ

Description

@tiansQAQ
  • 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定时器,这是为什么?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions