Implement drag and drop in React Aria #1286
Initial commit for drag and drop
41b245ac
Initial take on keyboard dnd
0ed34942
Don't preventDefault in usePress if inside a draggable element
d6260d26
Ignore drop targets inside an aria-hidden container
509f7035
Prevent normal keyboard events and pass dnd events through target
d1f8dc46
Keep valid drop targets up to date and support drag activate event on…
a71fcfe2
Move focus to collection children
fc8896d8
Fix pointerType of pointer events outside storybook iframe in mobile …
e610980a
Register focus visible global listeners on page load
45e90645
Somewhat working screen reader support
5286c58a
Get collection drop targets working with screen readers
be395953
Cancel press on drag start in Safari
1988a8eb
Prototype: allow tab key inside selectable items
11de892e
Add option to deselect items on press up
d0a17a10
Improve keyboard support for droppable collections and make examples …
12d58bb7
Some fixes for iOS voiceover
d622e14e
iOS voiceover improvements
108abc86
Fix usePress
659eac50
Lint
2f0909d3
Setup @react-stately/dnd package
2cffaa7d
Add draggable collection hooks
566342f1
Match native macOS behavior for dragging selection
ddca0152
Support custom renderPreview function
2f3efc8f
Remove getDropOperation prop from useDroppableItem
56f82d3d
Support for dropping on the collection root, and ARIA grid example
f21871c3
Create useDescription hook to dedup description elements
98471610
Centralize platform/browser checks in one place
c8d48213
Don't fire onDropExit and onDropEnter when the new target is the same…
c9c7e336
Implement auto scroll support in Safari on macOS
0581528a
Support no renderPreview option for useDraggableCollection
b1872c5d
Determine whether two drop targets are equivalent
18ef028d
Add virtualized example
123acc1c
Implement support for Home/End and PageUp/PageDown
0220a86d
Support multiple items of the same type, and items with multiple repr…
0646eda3
Only render drop indicators when visible or not aria-hidden
03b97f4e
Add example of reordering a list
63a30ca1
Don't select on press start on drag handle
1446babb
Switch to grid hooks for examples
d54227a1
Wait a frame to dispatch onDrop
1a47877e
Internationalize messages
7cfa3d59
Add initial tests for drag and drop
9162316b
Tests for useDroppableCollection
bf4e43d1
useDraggableCollection tests
5af37888
devongovett
force pushed
from
ee98f775
to
5af37888
4 years ago
Revert table test skips
d514a394
Add tests for usePress changes
418077e4
Add test for ariaHideOutside VO workaround
e0c4d776
Add tests for useListData changes
ceb3c8c0
devongovett
changed the title [DNM] Drag and drop prototype Implement drag and drop in React Aria 4 years ago
devongovett
marked this pull request as ready for review 4 years ago
Add missing return
c8b093e0
Merge branch 'main' into dnd
20612444
dannify
approved these changes
on 2021-03-10
dannify
dismissed their stale review
4 years ago
dannify
merged
6e4d003e
into main 4 years ago
dannify
deleted the dnd branch 4 years ago
Assignees
No one assigned