Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
60 stars 99 forks source link

🪲[Bug]: Camera not Closing #504

Closed OjashwiDwivedi closed 2 months ago

OjashwiDwivedi commented 2 months ago

Describe the bug When a user clicks report and then selects take photo and the changes his/her mind about it and closes the camera box,the camera on your system does not close till you close the site.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://pawss.vercel.app/
  2. Click on " Report "
  3. Click on " Take photo "
  4. Click on " Cross option "
  5. See error - The camera on your system does not close.

Expected behavior The camera on the system should close the moment you click the cross option and exit the camera pop up on the site.

Screenshots Not applicable.

Desktop (please complete the following information):

Additional context I agree to follow this project's Code of Conduct I'm a GSSOC'24 contributor I want to work on this issue

@piyansusahoo Is also contributing to this issue so please assign him as well.

github-actions[bot] commented 2 months ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. Please make sure to read this issue for important guidelines. We aim to respond or assign your issue as soon as possible.

codewarnab commented 2 months ago

Assigned

OjashwiDwivedi commented 2 months ago

Please also assign it to @piyansusahoo

codewarnab commented 2 months ago

Please also assign it to @piyansusahoo

you dont work on it ? if anyone want to work on it first need to comment here

piyansusahoo commented 2 months ago

@codewarnab we are working together on this issue please assign it to both of us.

codewarnab commented 2 months ago

i dont this this issue is too big to break in parts so i can assign you both but in one pr you have to add all the code for this issue which will be counted for gssoc

UtkarshBirla28 commented 2 months ago

@codewarnab Assign it to me sir i will resolve it ASAP

UtkarshBirla28 commented 2 months ago

@codewarnab Camera is working perfectly fine . I guess issue has already been solved

codewarnab commented 2 months ago

@codewarnab Camera is working perfectly fine . I guess issue has already been solved

oohk thanks for the info