Reloading/restarting XHRUpload plugin?

Is there any solution for a problem that when you open file selector and upload or close it, you can’t upload any other files because it says it already found plugin and it’s limited to run only one at same time.

You can move the uppy.use(XHRUpload) call outside your .click() handler. The .use() call doesn’t start an upload, it just tells Uppy how to upload. Usually that stays the same.

If you need to change the options you passed to XHRUpload, first do uppy.removePlugin('XHRUpload').