fine uploader - drop-area element not hiding with DND module and FineUploaderBasic -


i've got working except drop area element doesn't hide after moving off page.

for example, if drag page, drop area element shows, if decide not drop, stays visible instead of hiding. looks in demos on site, should hide again.

i've been studying page: http://docs.fineuploader.com/branch/master/integrating/options/fineuploader.html#draganddrop-option-properties

there doesn't seem callback when there no longer file dropped in browser window. code looks examples, has own element id , class names, both of work.

any ideas?

update - here code:

<div id="file-upload-well" class="well text-center">     <div id="file-upload-drop-area" style="display:none;">drop files here</div>     <a href="#" class="btn">upload files</a> </div> 

and here dnd js:

var draganddropmodule = new qq.draganddrop({ dropzoneelements: [document.getelementbyid('file-upload-drop-area')], classes: {     dropactive: "dropactive" }, callbacks: {     processingdroppedfiles: function () {         $('#file-upload-drop-area').hide();     },     processingdroppedfilescomplete: function(files) {         uploader.addfiles(files);      } } }); 

the issue setting hidedropzonesbeforeenter set false default , needed set true.

both variable name , documentation make seem show drop zone when file directly on it, instead hides , shows dropdown when file on compliant browser.


Comments