advanced-nova-media-library
advanced-nova-media-library copied to clipboard
Releasing crop outside of the modal bounds cancels and closes the crop modal
https://user-images.githubusercontent.com/5942607/123015312-66d69600-d40b-11eb-8bd3-7702bc7d4a92.mov
I image there is an event "mouseup" event attached to the modal's backdrop. A simply fix would be to use a "mousedown" event. Or perhaps to check if it's mid-crop.
Yeah, bumping this as I'm facing the same issue. It's especially annoying when I force the user to always crop the uploaded image. For now I would prefer it to only close when you would click the buttons within the modal, not the backdrop.