mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-24 18:58:57 +00:00
* @uppy/provider-views - added accessibility * @uppy/provider-views - simplified checkbox css * @uppy/dashboard - on tab set focus to the current verlay * @uppy/dashboard - factored out code related to focus into a separate file * @uppy/dashboard, and connected plugins - made focus travel well, and be managed in a single place in Dashboard * @uppy/dashboard - made modal opener button focus keep focus on modal close * @uppy/dashboard - focus management for uploaded-files * @uppy/dashboard - made informer read messages without interruption * @uppy/provider-views - removed the bug of focus jumping on safari * @uppy/dashboard - made focus travel well in instagram in firefox * @uppy - moved lodash.debounce dependency from / to @uppy/dashboard * everywhere - made <ul>s not focusable for firefox * @uppy/provider-views - unnested scss, copypasted alex's :focus changes * Added JSDoc eslint package and rules, and fixed some JSDoc comments * .eslintrc - made jsdoc errors warnings instead * package-lock.json for new package.json * eslint fix * @uppy/dashboard - avoid forcing focus when we are inline * @uppy/dashboard - in firefox, made sure superfocus is not switching back to uppy * @uppy/dashboard - no focus jump for .info() inline, fix for firefox Made focus not interrupt .info() when we are in the inline mode; Made firefox start superfocusing when we either tab into, or click on some element in Uppy * @uppy/dashboard - only listen to click/focus on uppy * @uppy/dashboard - started trapping focus in inline mode too * @uppy/dashboard - restricted trapFocus() event listener to this.el * @uppy/core - started throttling progress emits. 1. To fix heat up in firefox 2. To fix focus in firefox * @uppy/core - fixed tests by adding .flush()-s for progress emits * @uppy/dashboard - stopped trapping focus in inline mode, made background inert * @uppy/dashboard - added MutationObserver polyfill * tests - made locale-packs.js pass * REVERTED last 3 commits that introduced inert Inert requires too many polyfills, atm tests fail in IE 10.0, wicg-inert library reportedly has performance issues. We decided to at least wait until _some_ browser introduce inert html property natively. * @uppy/dashboard - IE11 fix for focusing * @uppy/dashboard - fix for a bug in Safari for long uploads with checkbox clicking * RERUN TESTS - tiny commit to rerun tests * @uppy/dashboard - removed useless touchstart event listener * Cancel superFocus in recordIfFocusedOnUppyRecently, when focus moves away from Uppy * @uppy/provider-views - made Filter not swallow letters * @uppy/dashboard - stopped superfocus from refocusing if we're already in the overlay |
||
|---|---|---|
| .. | ||
| utils | ||
| index.js | ||
| README.md | ||
Influenced by:
- https://github.com/leonadler/drag-and-drop-across-browsers
- https://github.com/silverwind/uppie/blob/master/uppie.js
- https://stackoverflow.com/a/50030399/3192470
Why do we not use getFilesAndDirectories() api?
It's a proposed spec that seems to be barely implemented anywhere.
Supposed to work in Firefox and Edge, but it doesn't work in Firefox, and both Firefox and Edge support .webkitGetAsEntry() api anyway.
This page e.g. shows how this spec is supposed to function: https://wicg.github.io/directory-upload/, but it only works because of the polyfill.js that uses .webkitGetAsEntry() internally.