mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 04:56:00 +00:00
correctly focusing tabs
This commit is contained in:
@@ -217,12 +217,12 @@
|
||||
$: rowHeight = $dataGridRowHeight;
|
||||
let currentCell = [0, 0];
|
||||
|
||||
const tabVisible: any = getContext('tabVisible');
|
||||
const tabFocused: any = getContext('tabFocused');
|
||||
const domCells = {};
|
||||
|
||||
let domFocusField;
|
||||
|
||||
$: if ($tabVisible && domFocusField && focusOnVisible) {
|
||||
$: if ($tabFocused && domFocusField && focusOnVisible) {
|
||||
domFocusField.focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user