Skip to content

Commit e526e81

Browse files
committed
fix: windows Unable to hold down ctrl multiple selection
1 parent 3a67d96 commit e526e81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chat2db-client/src/components/SearchResult/hooks/useMultipleSelect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const useMultipleSelect = (props: {
3232
if (event.keyCode === 16) {
3333
isShiftDownRef.current = true;
3434
}
35-
if (event.keyCode === 91) {
35+
if (event.keyCode === 91 || event.keyCode === 17) {
3636
isCmdDownRef.current = true;
3737
}
3838
};

0 commit comments

Comments
 (0)