mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-31 08:34:01 -05:00
Fixed an issue where Ctrl/Cmd+A in cell editor would select all rows. #8572
This commit is contained in:
1 parent
51897dc804
commit
2de2c30545
1 file changed
+1
-1
@@ -109,7 +109,7 @@ function CustomRow(props) {
|
||||
dataGridExtras.onSelectedCellChange?.(null);
|
||||
}
|
||||
const handleKeyDown = (e)=>{
|
||||
dataGridExtras.handleShortcuts(e);
|
||||
if (e.target.role == 'gridcell') dataGridExtras.handleShortcuts(e);
|
||||
if(e.code === 'Enter' && !props.isRowSelected && props.selectedCellIdx > 0) {
|
||||
props.selectCell(props.row, props.viewportColumns?.find(columns => columns.idx === props.selectedCellIdx), true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user