react-qr-reader
react-qr-reader copied to clipboard
Camera doesn't close after component is unmounted
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.
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