Also allow dragging below the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
73e4594e08
commit
8b775e6895
|
@ -3352,6 +3352,7 @@
|
||||||
&& !self.$el.is(dropTarget) // dropped on list directly
|
&& !self.$el.is(dropTarget) // dropped on list directly
|
||||||
&& !self.$el.has(dropTarget).length // dropped inside list
|
&& !self.$el.has(dropTarget).length // dropped inside list
|
||||||
&& !dropTarget.is(self.$container) // dropped on main container
|
&& !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();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue