react-qr-reader icon indicating copy to clipboard operation
react-qr-reader copied to clipboard

Camera doesn't close after component is unmounted

Open MomenAbdelwadoud opened this issue 2 years ago • 1 comments

I am rendering it inside a Modal component and when I close it all its children disappear but the camera and the functionality are still working.

MomenAbdelwadoud avatar May 27 '22 19:05 MomenAbdelwadoud

You dont use it in a modal and beside destroy the component, Its wrong to host it in a modal , becuase of its detachment from the root

iamunadike avatar Jul 25 '22 19:07 iamunadike