We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e37b683 commit 7e95e9cCopy full SHA for 7e95e9c
src/components/databrowser/components/sidebar/keys-list.tsx
@@ -70,6 +70,14 @@ const KeyItem = ({
70
const end = Math.max(lastClickedIndexRef.current, index)
71
const rangeKeys = allKeys.slice(start, end + 1).map(([key]) => key)
72
setSelectedKeys(rangeKeys)
73
+ } else if (e.metaKey || e.ctrlKey) {
74
+ // cmd/ctrl+click to toggle selection
75
+ if (isKeySelected) {
76
+ setSelectedKeys(selectedKeys.filter((k) => k !== dataKey))
77
+ } else {
78
+ setSelectedKeys([...selectedKeys, dataKey])
79
+ }
80
+ lastClickedIndexRef.current = index
81
} else {
82
// Regular click: select single key
83
setSelectedKey(dataKey)
0 commit comments