mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -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:
@@ -163,7 +163,8 @@ export class ConnectionDialogWidget extends Modal {
|
||||
render: c => {
|
||||
c.append(recentConnectionTab);
|
||||
},
|
||||
layout: () => { }
|
||||
layout: () => { },
|
||||
focus: () => this._recentConnectionTree.domFocus()
|
||||
}
|
||||
});
|
||||
|
||||
@@ -174,7 +175,8 @@ export class ConnectionDialogWidget extends Modal {
|
||||
layout: () => { },
|
||||
render: c => {
|
||||
c.append(savedConnectionTab);
|
||||
}
|
||||
},
|
||||
focus: () => this._savedConnectionTree.domFocus()
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user