ElemeFE / ElemeFE/element

[Bug Report] el-autocomplete emits `blur` when selecting from the dropdown

Open
#20,149 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.12.0

### OS/Browsers version
Ubuntu 18.04.5 / Google Chrome 85.0.4183.83

### Vue version
2.6.10

### Reproduction Link
https://jsfiddle.net/b4wz7fqn/5/

### Steps to reproduce
Click the ``. Select one of the suggestions.

### What is Expected?
I expected the callback for `@select` to be called. And maybe `@blur` afterwards... But only AFTER `@select`, otherwise there is no way to know whether the user is clicking out or not.

### What is actually happening?
The callback for `@blur` is called, which means that I cannot know if the user is clicking out or just selecting something from the dropdown.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.