bootstrap-filestyle icon indicating copy to clipboard operation
bootstrap-filestyle copied to clipboard

change event not triggered on drag & drop

Open tstamac opened this issue 4 years ago • 0 comments

When you drag and drop files to the component change event is not fired. Tried on Chrome and Firefox.

in

on('drop', 

after (line 316)

   $('[name="filedrag"]').css('z-index', '-1'); 

there should be

   _self.options.onChange(files);

This doesn't check if files dropped are actually different from previous state, but at least it fires the event.

tstamac avatar Nov 27 '20 18:11 tstamac