Skip to content

Commit

Permalink
Editor: Fix resetting the drop-zone states after dropping a file
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Aug 30, 2017
1 parent 71eb775 commit 7dfefb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/drop-zone/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class DropZoneProvider extends Component {
} );

this.dropzones.forEach( ( { updateState } ) => {
updateState( { isDraggingOverDocument, isDraggingOverElement: false, position: null } );
updateState( { isDraggingOverDocument: false, isDraggingOverElement: false, position: null } );
} );
}

Expand Down

0 comments on commit 7dfefb6

Please sign in to comment.