mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 00:23:57 +00:00
fixed shift processing in datagrid
This commit is contained in:
@@ -582,6 +582,7 @@
|
|||||||
if (event.target.closest('.collapseButtonMarker')) return;
|
if (event.target.closest('.collapseButtonMarker')) return;
|
||||||
if (event.target.closest('input')) return;
|
if (event.target.closest('input')) return;
|
||||||
|
|
||||||
|
shiftDragStartCell = null;
|
||||||
// event.target.closest('table').focus();
|
// event.target.closest('table').focus();
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
if (domFocusField) domFocusField.focus();
|
if (domFocusField) domFocusField.focus();
|
||||||
@@ -755,7 +756,7 @@
|
|||||||
|
|
||||||
handleCursorMove(event);
|
handleCursorMove(event);
|
||||||
|
|
||||||
if (event.shiftKey) {
|
if (event.shiftKey && event.keyCode != keycodes.shift) {
|
||||||
selectedCells = getCellRange(shiftDragStartCell || currentCell, currentCell);
|
selectedCells = getCellRange(shiftDragStartCell || currentCell, currentCell);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user