fix: Added keyboard functionality for esc and Ctrl + a (#8282)
## Description - This PR fixes #8247 #8206 - Adds keyboard functionality for esc (deselect all records) and Ctrl + a (select records) ## Changes https://github.com/user-attachments/assets/7b2718d6-dbe5-4cd8-8ead-b6baed1fc357 Merged during stream 🎉 --------- Co-authored-by: Devessier <baptiste@devessier.fr>
This commit is contained in:
@ -22,7 +22,9 @@ export const DragSelect = ({
|
||||
onDragSelectionEnd,
|
||||
}: DragSelectProps) => {
|
||||
const theme = useTheme();
|
||||
|
||||
const { isDragSelectionStartEnabled } = useDragSelect();
|
||||
|
||||
const { DragSelection } = useSelectionContainer({
|
||||
shouldStartSelecting: (target) => {
|
||||
if (!isDragSelectionStartEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user