Tags: LiangCY/react-dropzone
Tags
fix: fix a regression introduced by react-dropzone#619 (react-dropzon… …e#678) Closes react-dropzone#619 (comment)
fix: Mark children as optional in the typings (react-dropzone#663) * Mark children as optional in the typings They're marked as required, but the `propTypes` only mark it as optional. One of them is wrong :) * Update basic.tsx
fix: only call *onDrag callbacks when dragging files (react-dropzone#619 ) BREAKING CHANGE: Callbacks won't get executed for non-file items anymore i.e. if items aren't of type `File` when react-dropzone will ignore them.
fix: persist synthetic event (react-dropzone#657) * fix: persist synthetic event Since v4.3 the event passed to the handler is not reusable anymore, because some work is done with it before. To prevent this evt.persist() is called. Fixes react-dropzone#646
fix(SSR): Add event listeners only if the element exist in DOM (react… …-dropzone#628) Fixes react-dropzone#537 (potential issues with SSR)
fix: Reject all files in single file drop (react-dropzone#641) If multiple files were dropped and `multiple == false`, react-dropzone will reject all files. Previously it would accept one file and reject the rest. BREAKING CHANGE: This can break applications that rely on the current behavior. Closes react-dropzone#458
PreviousNext