Skip to content

Commit bffb34a

Browse files
authored
Merge pull request #15747 from nextcloud/bugfix/noid/drag-file-fix
Also allow dragging below the file list
2 parents 8b6d8ed + d48787e commit bffb34a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/files/js/filelist.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3350,6 +3350,7 @@
33503350
&& !self.$el.is(dropTarget) // dropped on list directly
33513351
&& !self.$el.has(dropTarget).length // dropped inside list
33523352
&& !dropTarget.is(self.$container) // dropped on main container
3353+
&& !self.$el.parent().is(dropTarget) // drop on the parent container (#app-content) since the main container might not have the full height
33533354
) {
33543355
e.preventDefault();
33553356
return false;

0 commit comments

Comments
 (0)