advanced-nova-media-library icon indicating copy to clipboard operation
advanced-nova-media-library copied to clipboard

Releasing crop outside of the modal bounds cancels and closes the crop modal

Open GarethSomers opened this issue 3 years ago • 1 comments

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.

GarethSomers avatar Jun 23 '21 00:06 GarethSomers

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.

ramonfeleus avatar Dec 31 '21 13:12 ramonfeleus