fixed shift processing in datagrid

This commit is contained in:
Jan Prochazka
2021-05-17 17:55:25 +02:00
parent 482a823f4f
commit 6eb16ad750

View File

@@ -582,6 +582,7 @@
if (event.target.closest('.collapseButtonMarker')) return;
if (event.target.closest('input')) return;
shiftDragStartCell = null;
// event.target.closest('table').focus();
event.preventDefault();
if (domFocusField) domFocusField.focus();
@@ -755,7 +756,7 @@
handleCursorMove(event);
if (event.shiftKey) {
if (event.shiftKey && event.keyCode != keycodes.shift) {
selectedCells = getCellRange(shiftDragStartCell || currentCell, currentCell);
}
}