Studio-42/elFinder — Issue #198: Drag and Drop area issue with long folder name
Author: wolfgangihloff
Created: 2012-02-07 02:04:14+00:00
State: open

There's a hidden hot area that the drag tool is seeing while still dragging the file in the file view frame caused by a folder name that is longer than what can fit in the Folder Directory frame.

## Steps to reproduce
* create a folder
* create a folder in folder
* create a folder in folder that has a very long folder name
* put a file in folder/
* collapse view/tree on left
* go to folder/
* drag file to tree, see tree expand, keep expanding to arrive at folder/folder/long folder name
* drag file back to main content view area
* drag file around and see how it opens other items in the tree view on the left, although your mouse courser is not hovering over them
* drop file back in content folder where it was before, see how it drops into a folder of the tree on the left

The area affected correlates to the length of the expanded folder name that is hidden behind the file view frame; if you scroll the Folder Tree all the way to the right beforehand, then the file can be safely dropped back in the file view frame without it getting put in another folder.

=== Expected Outcome ===
Dragging and dropping a file or folder should only interact with folders within the Tree or file view frames while the item is dragged within that frame; this will prevent an inadvertent move of an item when the user drops the item back in white space within the file view list or icon view frame, expecting to cancel the drag action.