ElemeFE / ElemeFE/element

[Bug Report] The select component is placed in the dialog component. After the keyboard presses esc, the pop-up window disappears, but the select does not disappear

Open
#21,221 1 comment 0 reactions 0 assignees View on GitHub
component: dialog type: bug
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.5

### OS/Browsers version
mac ios

### Vue version
2.6.14

### Reproduction Link
https://codepen.io/equicy/pen/eYWxZNQ

### Steps to reproduce
```
1. 在dialog组件中放置select组件
2. 点击一个禁用的select选项
3. 键盘按下esc
4. 弹窗消失,select组件的下拉面板无法消失
```

### What is Expected?
弹窗消失,select组件的下拉面板也消失

### What is actually happening?
弹窗消失,select组件的下拉面板无法消失

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CodePen reproduction link using Element UI 2.15.5 and Vue 2.6.14, and reproduce the interaction between the dialog and select components on iOS/macOS. Trace the ESC handling after clicking a disabled select option. Done means closing the dialog also removes the select dropdown panel.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.