uppy/website
Lars Fernhomberg 8985283572
Disable drop state for non-files (#2449)
* Only handle drag events with files

* Added modification to drag-drop package as well

* Use some() instead of find() for broader browser support

* `dataTransfer.types` is not a real array in IE10

* introduce canHandleRootDrop, so we can check if dragged items are supported by some plugin

* drag-drop should check for allowNewUpload

* refactor and simplify

* expose events for Dashboard too

* move event handler call to the bottom

Co-authored-by: Renée Kooi <renee@kooi.me>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-10-20 17:01:30 +01:00
..
private_modules/hexo-renderer-uppyexamples meta: enforce no-unused-vars linter rule (#3118) 2021-08-23 13:10:17 +01:00
scripts tools: remove use of promisify where possible (#3010) 2021-07-14 14:22:06 +02:00
src Disable drop state for non-files (#2449) 2021-10-20 17:01:30 +01:00
themes/uppy Release 2021-10-14 21:58:29 +01:00
_config.yml website: update to postcss 7 2019-05-20 11:31:38 +02:00
build-examples.js Stricter linter (#3095) 2021-08-17 20:32:57 +02:00
doc-order.json Update from master 2016-02-01 00:53:55 -05:00
inject.js Add retext to markdown linter (#3024) 2021-10-14 16:10:45 +02:00
package.json meta: use Yarn v3 instead of npm (#3237) 2021-10-20 15:16:59 +02:00
postcss.config.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
VUEORG_LICENSE Rename LICENSE to VUE 2015-11-29 14:22:03 +01:00