Releases: lukasbach/react-complex-tree
Releases · lukasbach/react-complex-tree
2.3.5
Features
- Add
setDomFocus
argument to focus-item methods to provide an escape hatch to set the focus state of an item in RCT
without updating the DOM focus. This defaults to true in all existing methods to maintain the current behavior if
it is absent. (#336) - Allow customizing when a subtree is rendered or not with the new
shouldRenderChildren
prop. This can be used to
create opening and closing animations on subtrees. See Demo
and Demo Implementation for details. (#333)
Bug Fixes
- Fix a bug where the
parentId
property in therenderItemsContainer
render method was incorrectly set to the tree id
for the root container.
2.3.4
Other Changes
- Make the
onDidChangeTreeDataEmitter
prop on a static data provider public
2.3.3
2.3.2
2.3.1
2.2.5-alpha.0
Breaking Changes
- Changed the behavior for dropping an item at the bottom of an open folder has changed, and will now drop
into the open folder at its top, instead of the parent folder below the open folder. See discussion at #148 for details.
You can opt out of this behavior by setting thecanDropBelowOpenFolders
prop on the tree environment (#148).
Bug Fixes
- Fixed a bug where the
canRename
property in a tree item payload was not respected.
2.3.0
Breaking Changes
- Changed the behavior for dropping an item at the bottom of an open folder has changed, and will now drop
into the open folder at its top, instead of the parent folder below the open folder. See discussion at #148 for details.
You can opt out of this behavior by setting thecanDropBelowOpenFolders
prop on the tree environment (#148).
Bug Fixes
- Fixed a bug where the
canRename
property in a tree item payload was not respected.
2.2.4
Features
- Add a
expandSubsequently
method on the environment and tree refs, to facilitate searching through items that are not yet opened (#287). See https://rct.lukasbach.com/docs/guides/search#finding-items-that-are-not-loaded-in for details