|
@@ -189,6 +189,8 @@ Set to true to automatically close the modal when the user clicks outside of it.
|
|
|
|
|
|
Set to true to automatically close the modal when all current uploads are complete. You can use this together with the [`allowMultipleUploads: false`](/docs/uppy#allowMultipleUploads-true) option in Uppy Core to create a smooth experience when uploading a single (batch of) file(s).
|
|
|
|
|
|
+With this option, the modal is only automatically closed when uploads are complete _and successful_. If some uploads failed, the modal stays open so the user can retry failed uploads or cancel the current batch and upload an entirely different set of files instead.
|
|
|
+
|
|
|
> Setting [`allowMultipleUploads: false`](/docs/uppy#allowMultipleUploads-true) is **strongly** recommended when using this option. With multiple upload batches, the auto-closing behavior can be very confusing for users.
|
|
|
|
|
|
### `disablePageScrollWhenModalOpen: true`
|