File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
33- Add ` setDomFocus ` argument to focus-item methods to provide an escape hatch to set the focus state of an item in RCT
44 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 => {
3535 const treeChildren = (
3636 < >
3737 < MaybeLiveDescription />
38- < TreeItemChildren depth = { 0 } parentId = { treeId } >
38+ < TreeItemChildren depth = { 0 } parentId = { rootItem } >
3939 { rootChildren ?? [ ] }
4040 </ TreeItemChildren >
4141 < DragBetweenLine treeId = { treeId } />
You can’t perform that action at this time.
0 commit comments