weta-vn / advance_image_picker

Flutter plugin for selecting multiple images from the Android and iOS image library, taking new pictures with the camera, and edit them before using such as rotating, cropping, adding sticker/filters.
BSD 3-Clause "New" or "Revised" License
110 stars 49 forks source link

Black Screen Issue When Spam Finish ( Done ) Button #53

Open seceba opened 1 year ago

seceba commented 1 year ago

If you keep pressing ( spamming finish button ) the finish button after selecting images, the app stays on the black screen.

This is because as you keep pressing finish it keeps running in the background and runs navigator.pop every time.

in image_picker.dart onPressed: (_selectedImages.isNotEmpty)

find this line and replace it with this one.

onPressed: (_selectedImages.isNotEmpty && _isOutputCreating == true)

and I found a temporary solution.

weta-vn commented 1 year ago

Thank you for sharing about problem. We apologize for the delay. We're so busy in some working projects for this month. After it finished, we'll investigate to resolve above problem.