Skip to content

Camera is still open after unmounting or switching route #2

@Jervx

Description

@Jervx

Camera is still open after route has changed and the page & component unmounts. I'm seeing my camera light indicator still on.

im using Qr Code Reader on the register page route /events/[id]/register where user can scan their qrcode ID number
image

once I changed the route like go back to /event/[id] which is the landing page of the specific event. And the camera was still on, and it is also indicated at the tab of the browser
image
image

Im using Next.js 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions