mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
Add focus logic to the tabbed panel (#5649)
* add focus logic to the tabbed panel * change enter to be on key up * fix tests
This commit is contained in:
@@ -341,7 +341,8 @@ export class ProfilerEditor extends BaseEditor {
|
||||
title: nls.localize('text', "Text"),
|
||||
view: {
|
||||
layout: dim => this._editor.layout(dim),
|
||||
render: parent => parent.appendChild(editorContainer)
|
||||
render: parent => parent.appendChild(editorContainer),
|
||||
focus: () => this._editor.focus()
|
||||
}
|
||||
});
|
||||
|
||||
@@ -379,7 +380,8 @@ export class ProfilerEditor extends BaseEditor {
|
||||
title: nls.localize('details', "Details"),
|
||||
view: {
|
||||
layout: dim => this._detailTable.layout(dim),
|
||||
render: parent => parent.appendChild(detailTableContainer)
|
||||
render: parent => parent.appendChild(detailTableContainer),
|
||||
focus: () => this._detailTable.focus()
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user