Open gaurav20gv opened 4 months ago
Hi @gaurav20gv
Can you share which version you are using of image_input?
Because this issue is solved in the latest version 0.0.5. And if you are using the latest version can you share your getPrefferedCameraDevice
callback code.
Dear @aakash-pamnani,
When using the library, I noticed that when the popup opens to select between the camera and the gallery, if the user clicks outside the popup, it defaults to the gallery. Ideally, clicking outside the popup should dismiss it without making a selection. Here are the steps to reproduce the issue:
Integrate the image_input library into a Flutter project. Trigger the image selection popup. Click outside the popup. Expected behaviour:
The popup should close without selecting either option. Actual behaviour:
The popup closes and default redirects to the gallery selection.
I believe this small fix would greatly enhance the user experience by preventing unintended selections.