mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 17:22:48 -05:00
Fix a couple a11y issues (#8334)
* Fix a couple a11y issues * Add other dialog
This commit is contained in:
@@ -105,7 +105,7 @@ export class SelectBox extends vsSelectBox {
|
||||
// SelectBoxList uses its own custom drop down list so we need to also stop propagation from that or it'll
|
||||
// also bubble up
|
||||
this.onkeydown(this.selectBoxDelegate.selectDropDownContainer, (e: IKeyboardEvent) => {
|
||||
if (e.keyCode === KeyCode.Enter) {
|
||||
if (e.keyCode === KeyCode.Enter || e.keyCode === KeyCode.Escape) {
|
||||
dom.EventHelper.stop(e, true);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user