Merge pull request #15747 from nextcloud/bugfix/noid/drag-file-fix

Also allow dragging below the file list
This commit is contained in:
Morris Jobke 2019-05-27 14:21:48 +02:00 committed by GitHub
commit bffb34afbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3350,6 +3350,7 @@
&& !self.$el.is(dropTarget) // dropped on list directly
&& !self.$el.has(dropTarget).length // dropped inside list
&& !dropTarget.is(self.$container) // dropped on main container
&& !self.$el.parent().is(dropTarget) // drop on the parent container (#app-content) since the main container might not have the full height
) {
e.preventDefault();
return false;