fix python wizard behavior and enable smoke test (#14433)

This commit is contained in:
Lucy Zhang
2021-02-26 05:04:27 -08:00
committed by GitHub
parent dbc655a8f5
commit ab114376aa
2 changed files with 2 additions and 2 deletions

View File

@@ -465,7 +465,7 @@ export abstract class Modal extends Disposable implements IThemable {
DOM.append(this.layoutService.container, this._bodyContainer!);
this.setInitialFocusedElement();
this.disposableStore.add(DOM.addDisposableListener(document, DOM.EventType.KEY_UP, (e: KeyboardEvent) => {
this.disposableStore.add(DOM.addDisposableListener(document, DOM.EventType.KEY_DOWN, (e: KeyboardEvent) => {
let context = this._modalShowingContext.get()!;
if (context[context.length - 1] === this._staticKey) {
let event = new StandardKeyboardEvent(e);