Skip to content

Releases: lukasbach/headless-tree

@headless-tree/react@1.6.3

20 Jan 14:34

Choose a tag to compare

@headless-tree/react@1.6.3

@headless-tree/core@1.6.3

20 Jan 14:34

Choose a tag to compare

Patch Changes

  • 4397d8c: Added draggedItemOverwritesSelection as config option to the Drag Feature. Setting it to false will disable the current default behavior, where dragging an unselected item will overwrite the selection to just the dragged item.

@headless-tree/react@1.6.2

08 Jan 15:38

Choose a tag to compare

@headless-tree/react@1.6.2

@headless-tree/core@1.6.2

08 Jan 15:37

Choose a tag to compare

Patch Changes

  • 39a8b44: Add skipUpdateTree parameter to updateCachedChildrenIds and updateCachedData in async tree loader
  • 26ecc1b: Fixed an issue where dropping items inside a collapsed folder will make the tree become un-focusable until a new item is clicked with mouse again. This could break usage with keyboard-only drag operations.
  • 0108b7a: Fixed a bug where some hotkeys (like up/down navigation, search and renaming) doesn't work after items are dragged within the tree (#179)
  • ffd2619: Fixed an issue where canDropForeignDragObject was being called in onDragOver events without payload. canDropForeignDragObject should never be called in onDragOver events since there, browsers do not allow access to the data transfer payload. Now, canDropForeignDragObject is only called in onDrop events, and canDragForeignDragObjectOver is always called in onDragOver events.

@headless-tree/react@1.6.1

16 Dec 23:01

Choose a tag to compare

@headless-tree/react@1.6.1

@headless-tree/core@1.6.1

16 Dec 23:01

Choose a tag to compare

Patch Changes

  • 4ddeaf3: Fixed behavior where shift-selecting an item with no previously selected or focused item would multiselect all items from the top to the clicked item. Now, shift-selecting an item with no previously clicked items will only select the clicked item (#176)

@headless-tree/react@1.6.0

10 Dec 13:50

Choose a tag to compare

Patch Changes

@headless-tree/core@1.6.0

10 Dec 13:50

Choose a tag to compare

Minor Changes

  • 297b575: The anchor for shift-selecting (item.selectUpTo()) is now the last item that was clicked while not holding shift, or alternatively the focused item if that didn't exist. The previous behavior was always using the focused item as anchor, which doesn't match common multi-select behaviors in similar applications (#176)

Patch Changes

  • 287fe40: Added missing aria-expanded attribute to tree items (thanks to @gordey4doronin for the contribution) (#171)
  • 7158afe: Improve rerendering behavior by skipping changes to the item loading state when items are already loading, and skipping changes to loading state in case of checkbox click propagation if items are loaded immediately (#173)

@headless-tree/react@1.5.1

13 Oct 20:30

Choose a tag to compare

@headless-tree/react@1.5.1

@headless-tree/core@1.5.1

13 Oct 20:30

Choose a tag to compare

Patch Changes

  • 08f10f1: Fixed an issue where isFolder returns incorrect values for leafs if they are not visibly rendered (#166)