File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
- Add ` setDomFocus ` argument to focus-item methods to provide an escape hatch to set the focus state of an item in RCT
4
4
without updating the DOM focus. This defaults to true in all existing methods to maintain the current behavior if
5
- it is absent.
5
+ it is absent.
6
+
7
+ ### Bug Fixes
8
+
9
+ - Fix a bug where the ` parentId ` property in the ` renderItemsContainer ` render method was incorrectly set to the tree id
10
+ for the root container.
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const TreeManager = (): JSX.Element => {
35
35
const treeChildren = (
36
36
< >
37
37
< MaybeLiveDescription />
38
- < TreeItemChildren depth = { 0 } parentId = { treeId } >
38
+ < TreeItemChildren depth = { 0 } parentId = { rootItem } >
39
39
{ rootChildren ?? [ ] }
40
40
</ TreeItemChildren >
41
41
< DragBetweenLine treeId = { treeId } />
You can’t perform that action at this time.
0 commit comments