Skip to content

Releases: lukasbach/react-complex-tree

2.3.5

02 Mar 21:52
Compare
Choose a tag to compare

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 the renderItemsContainer render method was incorrectly set to the tree id
    for the root container.

2.3.4

19 Jan 01:28
Compare
Choose a tag to compare

Other Changes

  • Make the onDidChangeTreeDataEmitter prop on a static data provider public

2.3.3

18 Jan 21:49
Compare
Choose a tag to compare

Bug Fixes and Improvements

  • Maintain original item order when dropping items (#315)
  • Expose some hooks and internally used components in the public API that were hidden before (#313)

2.3.2

05 Dec 17:35
Compare
Choose a tag to compare

Bug Fixes and Improvements

  • Improved the implementation of the onSelectItems prop to not run during a React update, which was causing issues
    in some cases (#278)

2.3.1

04 Dec 21:02
Compare
Choose a tag to compare

Bug Fixes

  • Items dropped at the bottom most position (outside of the rectangle of tree items, but still inside the tree container)
    will now be placed in the root item, at the final position, instead of the contents of the last open item (#261)

2.2.5-alpha.0

04 Dec 20:02
Compare
Choose a tag to compare

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 the canDropBelowOpenFolders 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

30 Nov 23:27
Compare
Choose a tag to compare

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 the canDropBelowOpenFolders 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

27 Nov 23:19
Compare
Choose a tag to compare

Features

2.2.3

24 Oct 19:42
Compare
Choose a tag to compare

Bug Fixes and Improvements

  • Fix Syntax Error in CSS styles (#288)

2.2.2

31 Jul 23:32
Compare
Choose a tag to compare

Features

  • Introduce disableMultiselect property on uncontrolled tree environment (#279)

Bug Fixes and Improvements

  • Fixes a bug where a state property is updated when the component is unmounted (#278)