it looks like Media Library (https://cloudinary.com/documentation/media_library_widget) has no `ml.on('close')` event handler which makes it rather difficult to figure out if the Modal was closed or not when other parts depend on that information. Furthermore there is no way to destroy the instance without the close event (like I can do with the Media Editor):
Is there a workaround or a solution for this?
FTR: I tried adding `closeHandler` and `showHandler` as well. Nothing happens. But at the same time I do not want to use them, as I let the widget handle that by itself while using `cloudinary.openMediaLibrary`.
I am only interested in the Modal case at the moment, as the other one does not work in React (see my other issue for this)
Thanks for your help.
Please sign in to leave a comment.