Skip to content

Commit 930432d

Browse files
authored
Merge pull request #15755 from nextcloud/backport/15747/stable15
[stable15] Also allow dragging below the file list
2 parents ae65cfe + cdcd9ff commit 930432d

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
@@ -3203,6 +3203,7 @@
32033203
&& !self.$el.is(dropTarget) // dropped on list directly
32043204
&& !self.$el.has(dropTarget).length // dropped inside list
32053205
&& !dropTarget.is(self.$container) // dropped on main container
3206+
&& !self.$el.parent().is(dropTarget) // drop on the parent container (#app-content) since the main container might not have the full height
32063207
) {
32073208
e.preventDefault();
32083209
return false;

0 commit comments

Comments
 (0)