react-spectrum
07976a33 - Fix useListData so that reorder operations are correctly inserted at the correct index (#3724)

Commit
3 years ago
Fix useListData so that reorder operations are correctly inserted at the correct index (#3724) * Fix useListData move operation logic specifically fix it for cases where the user is reordering a set of sequential items and is moving it to a drop position one below the last item being moved * Update packages/@react-stately/data/src/useListData.ts Co-authored-by: Devon Govett <devongovett@gmail.com> Co-authored-by: Devon Govett <devongovett@gmail.com>
Author
Parents
Loading