Skip to content

Commit

Permalink
what droppable you are over is based on center position of draggable (#…
Browse files Browse the repository at this point in the history
…93)

Base what droppable you are over is based on center position of draggable and not the mouse selection point
  • Loading branch information
alexreardon committed Sep 15, 2017
1 parent 599de4a commit ab96cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/reducer.js
Expand Up @@ -125,7 +125,7 @@ const move = ({
};

const newImpact: DragImpact = (impact || getDragImpact({
page: page.selection,
page: page.center,
withinDroppable,
draggableId: current.id,
draggables: state.dimension.draggable,
Expand Down

0 comments on commit ab96cb1

Please sign in to comment.