Skip to content
- Allow passing a callback for onDragOver as a prop (#326) (9bfaf129, closes #325)
- Fix getting data transfer items from event object (4d40ce56)
- Do not invoke
onClick of the wrapper component (0ea3c19a, closes #252)
onClick callback and prop (33813573)
Fixed: Extracted getting items from DataTransfer to a separate getDataTransferItems.
Fixed: Call onDropAccepted if is some files were accepted and some were rejected.
react-dom: filter out
acceptedFiles prop to remove React warning (#267) (68f39d7f)
edge: Wrapped setting of
try/catch block, as it causes errors in MS (cf0db15a, closes #248)
- [feature] Added
onCancel callback. Closes #199
onDrop will be called with 2 arguments:
- [docs] Update README examples to use ref callbacks
onDrop signature has changed — it's now will be called with 3 arguments where
event will be the 3rd.
- Fixed unknown props warning in React v15.2 #195. Closes #193 @nuc
- Updated to the latest lint-staged (2.0.0)