Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/dashboard/Data/Browser/DataBrowser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,15 @@ export default class DataBrowser extends React.Component {
e.preventDefault();
}
break;
case 32: // Space
// Only handle space if not editing and there's a current row selected
if (!this.state.editing && this.state.current?.row >= 0) {
const rowId = this.props.data[this.state.current.row].id;
const isSelected = this.props.selection[rowId];
this.props.selectRow(rowId, !isSelected);
e.preventDefault();
}
break;
}
}

Expand Down
Loading