If use SweetAlert2 then there is a conflict with Uppy.
When the SweetAlert2 message is displayed and any button is pressed, the Uppy Dashboard is shown.
Hi! Thanks for reporting. This looks a bug indeed, but it鈥檚 yet mysterious to me, how it can occur, when Uppy instance is isolated and SweetAlert2 doesn鈥檛 know about it.
One thought is browser history API, which we use for the browserBackButtonClose option, but it鈥檚 off by default.
@arturi Hi!
I was helped with the parameter change the "target".
Example:
target: '#uppy',
It's a bug within SweetAlert2, that removes all aria-hiddens from the direct children of the body, and we depend on the aria-hidden attribute in order to hide our modal: https://github.com/sweetalert2/sweetalert2/blob/60dd1e7634fecb23d397041fab8fab3b37ed75f4/src/utils/aria.js#L24.
Setting target: '#uppy', helps, because it makes uppy instance not be a direct child of a body.
I posted it as a bug to sweetalert2: https://github.com/sweetalert2/sweetalert2/issues/1648.
Most helpful comment
Setting
target: '#uppy',helps, because it makes uppy instance not be a direct child of a body.I posted it as a bug to sweetalert2: https://github.com/sweetalert2/sweetalert2/issues/1648.