Skip to content

Pressing Esc should dismiss drop down without changing selected item #42487

@stevencl

Description

@stevencl

Issue Type

Bug

Description

Open the output window
Click on the drop down
Press the down and up arrows to change the currently highlighted item.
Press Esc - the drop down closes and the currently highlighted item becomes the selected item
Expected - the drop down should close and the original selected item shoudl remain selected

VS Code Info

VS Code version: Code - Insiders 1.20.0-insider (eed7e19, 2018-01-30T09:51:29.494Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (4 x 2594)
Memory (System) 7.89GB (0.83GB free)
Process Argv C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe
Screen Reader yes
VM 0%
Extensions (12)
Extension Author (truncated) Version
html-snippets abu 0.2.1
vscode-eslint dba 1.4.4
tslint eg2 1.0.24
vscode-great-icons emm 2.1.22
vscode-gutter-preview kis 0.12.2
csharp ms- 1.13.1
vs-keybindings ms- 0.1.7
vsliveshare ms- 0.1.0-preview.171
team ms- 1.122.0
debugger-for-chrome msj 4.1.0
addDocComments ste 0.0.8
cordova-tools vsm 1.3.3

Reproduces only with extensions

Found when testing: #40589

See how this dropdown works to contrast (I press Esc at the end):
dropdown

Metadata

Metadata

Assignees

Labels

dropdownDropDown (SelectBox widget) native and custom issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions