BSImagePicker icon indicating copy to clipboard operation
BSImagePicker copied to clipboard

Repeatedly tapping on Done button triggers doneButtonPressed multiple times

Open alezoffoli opened this issue 4 years ago • 0 comments

I don't know if this is fixable or by design, but after selecting multiple images, tapping on Done button multiple times (spamming the button) triggers doneButtonPressed multiple times as well, and we end up with duplicate images

Selecting 5 images and tapping Done three times before the picker is dismissed will call the completion handler 3 times with 5 images total, it ends up with 15 selected images

Is there a workaround to ensure this won't happen?

alezoffoli avatar Jan 30 '21 13:01 alezoffoli