QR Code Scanner Plugin Bug?

Not sure if this is a bug or if I am doing something wrong.

I have a series of popups that house QR Code Scanners from this QR Code Scanner plugin. I am trying to make it so the scanners start as soon as the popup opens to remove a step of having to click a button to make the scanner start.

It works the first time the popup is opened, but if I close it and reopen it, I get an error saying that I need to report a bug. Doesn’t say what the bug is and I can’t see it in the debugger for some reason. The QR scanner then doesn’t run unless the button to start the scanner is pressed. I want to remove the button entirely, but because of this bug I don’t think I should do that.

Any advice on this? Am I doing something wrong? I would love for this to just be a user error on my part! Thanks!