This commit is contained in:
Sandeep Somavarapu
2022-06-02 15:45:18 +00:00
committed by GitHub
parent 70647a2ffd
commit 097e4df577
@@ -305,7 +305,7 @@ export class KeybindingsEditor extends EditorPane implements IKeybindingsEditorP
private createOverlayContainer(parent: HTMLElement): void {
this.overlayContainer = DOM.append(parent, $('.overlay-container'));
this.overlayContainer.style.position = 'absolute';
this.overlayContainer.style.zIndex = '10';
this.overlayContainer.style.zIndex = '40'; // has to greater than sash z-index which is 35
this.defineKeybindingWidget = this._register(this.instantiationService.createInstance(DefineKeybindingWidget, this.overlayContainer));
this._register(this.defineKeybindingWidget.onDidChange(keybindingStr => this.defineKeybindingWidget.printExisting(this.keybindingsEditorModel!.fetch(`"${keybindingStr}"`).length)));
this._register(this.defineKeybindingWidget.onShowExistingKeybidings(keybindingStr => this.searchWidget.setValue(`"${keybindingStr}"`)));