@silvain-sayduck/react-dnd-html5-backend
v7.0.2-2
Published
HTML5 backend for React DnD - fixes interference with drop events of native drag-n-drop (for example for file uploads with Dropzone)
Downloads
114
Readme
Fork of React DnD HTML5 Backend that fixes interference with drop events of native drag-n-drop (for example for file uploads with Dropzone)
Following is the original README file.
React DnD HTML5 Backend
The officially supported HTML5 backend for React DnD. See the docs for usage information.
Installation
If you use npm:
npm install --save react-dnd-html5-backend
The npm package defaults to the CommonJS build.
However it also includes a pre-minified UMD build in the dist
folder.
The UMD build exports a global window.ReactDnDHTML5Backend
when imported as a <script>
tag.
If you’d rather not use npm, you can use unpkg to access the UMD build directly: ReactDnDHTML5Backend.min.js. You may point your Bower config to it.
Browser Support
We strive to support the evergreen browsers, Safari 7+, as well as IE11+. IE10 should also work, but DragLayer
is fairly useless because IE10 doesn’t support pointer-events: none
. We don’t officially support IE9 and less.
Unfortunately the browser bugs, inconsistencies, and regressions come up from time to time, so please make sure you test your app on the browsers you’re interested in, and report any bugs to us.
License
MIT