Skip to content

Commit aea39d4

Browse files
committed
If holding alt only collapse level
1 parent 2c157d2 commit aea39d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/webapp/app/components/primitives/TreeView/TreeView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ export function useTree<TData>({
418418
if (treeNode && treeNode.hasChildren) {
419419
collapseLevel(treeNode.level);
420420
}
421+
break;
421422
}
422423

423424
const shouldCollapse =

0 commit comments

Comments
 (0)