Skip to content

Commit e9b028b

Browse files
committed
feat: release notes (#148)
1 parent d5341c3 commit e9b028b

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

next-release-notes.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
<!--
2-
### Breaking Changes
3-
41
### Features
52

6-
### Bug Fixes and Improvements
3+
- Make drop target depth in last-of-subtree locations dependent on x-coordinates of the mouse, allowing the user to
4+
drop in higher depths than the currently hovering item. This behavior is automatically used if `renderDepthOffset`
5+
on the renderers is set to a non-zero value. (#148)
6+
- Add `setDomFocus` argument to focus-item methods to provide an escape hatch to set the focus state of an item in RCT
7+
without updating the DOM focus. This defaults to true in all existing methods to maintain the current behavior if
8+
it is absent. (#336)
9+
- Allow customizing when a subtree is rendered or not with the new `shouldRenderChildren` prop. This can be used to
10+
create opening and closing animations on subtrees. See [Demo](https://rct.lukasbach.com/storybook/?path=/story/core-basic-examples--animated-expanding-and-collapsing)
11+
and [Demo Implementation](https://github.com/lukasbach/react-complex-tree/blob/main/packages/core/src/stories/BasicExamples.stories.tsx#L561) for details. (#333)
12+
13+
### Bug Fixes
714

8-
### Other Changes
9-
-->
15+
- Fix a bug where the `parentId` property in the `renderItemsContainer` render method was incorrectly set to the tree id
16+
for the root container.

0 commit comments

Comments
 (0)