Trigger file browser after reset

Hello!

I use a button which invokes uppy.reset() and i would like to trigger the file browser right after a user clicked on the reset button. I tried to call click() on my input field using fileInput.click();. The file browser pops up, but when i select a new image the image is neither uploaded or any event fired.

When i close the dialog and click on “Browse” again on the Dashboard the file browser opens and all events seems to be emitted. Is there any way to tell uppy to invoke the file browser?

Thanks in advance :slight_smile:

resetBtn.onclick = function(event) {
  event.preventDefault();
  uppy.reset();
  fileInput.click();
  event.target.hidden = true;
}