react-spectrum
340cc8e4 - Fix useTreeData subtree move validation (#10560)

Commit
12 days ago
Fix useTreeData subtree move validation (#10560) * fix(useTreeData): prevent moving node into its own subtree * test: add comprehensive regression tests for move errors * match logic and name tests more meaningfully * test: implement expectMoveError helper for React 17 compatibility --------- Co-authored-by: Rob Snow <rsnow@adobe.com>
Author
Parents
Loading