Skip to content

Commit

Permalink
Feat: Prioritize from multiple overlapping droppable
Browse files Browse the repository at this point in the history
- Fixes issue atlassian#655: while dragging over multiple overlapping droppables, By passing droppableId as "HIGHEST_DROPPABLE"
  • Loading branch information
karanparmar1 committed Nov 27, 2021
1 parent d77908e commit 22c3d32
Show file tree
Hide file tree
Showing 5 changed files with 23,816 additions and 15 deletions.
22 changes: 11 additions & 11 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"dist/react-beautiful-dnd.js": {
"bundled": 364998,
"minified": 133574,
"gzipped": 39437
"bundled": 365075,
"minified": 133637,
"gzipped": 39504
},
"dist/react-beautiful-dnd.min.js": {
"bundled": 306810,
"minified": 108365,
"gzipped": 31340
"bundled": 306865,
"minified": 108423,
"gzipped": 31417
},
"dist/react-beautiful-dnd.esm.js": {
"bundled": 240910,
"minified": 125371,
"gzipped": 32650,
"bundled": 241313,
"minified": 125632,
"gzipped": 32719,
"treeshaked": {
"rollup": {
"code": 21121,
"code": 21108,
"import_statements": 503
},
"webpack": {
"code": 24005
"code": 23992
}
}
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ We have created [a free course on `egghead.io` 🥚](https://egghead.io/courses/
- Independent nested lists - a list can be a child of another list, but you cannot drag items from the parent list into a child list
- Server side rendering (SSR) compatible - see [resetServerContext()](/docs/api/reset-server-context.md)
- Plays well with [nested interactive elements](/docs/api/draggable.md#interactive-child-elements-within-a-draggable-) by default
- Custom implementation to fix overlap issue [use "HIGHEST_DROPPABLE" inside one of the droppable id to prioritize it, if it is overlapping]

## Motivation 🤔

Expand Down
Loading

0 comments on commit 22c3d32

Please sign in to comment.