2.0.0-beta.34
tim-evans
released this
09 Mar 22:35
·
945 commits
to master
since this release
tldr; ember-file-upload
now uses a single event handler for drag and drop events.
What does this mean for me?
dragenter
anddragleave
events are now more stable! No longer will you have active dropzones lingering!- The addon uses less memory, since uses a single event listener for the whole document.
- When users drop a file on the page, missing a dropzone, the page won't redirect to the image / video / pdf. Instead the file will silently go into oblivion. If this isn't something you like, let me know in an issue!
- If a dropzone is added with the same
id
as another, your app will go 💣