2.3.5-alpha.0
github-actions
released this
02 Mar 21:53
·
79 commits
to main
since this release
Features
- Make drop target depth in last-of-subtree locations dependent on x-coordinates of the mouse, allowing the user to
drop in higher depths than the currently hovering item. This behavior is automatically used ifrenderDepthOffset
on the renderers is set to a non-zero value. (#148) - 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.