-
-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodeScannerView freezes after returning from child page #120
Comments
monishkumar7
changed the title
CodeScannerView UI freezes when I navigate away from that screen and come back.
CodeScannerView freezes after returning from child page
Nov 29, 2023
That is indeed the case, and the only workaround I found was to force swiftUI to recreate the view this way:
|
Thank you. I used the QRCodeScannerView and then used Sheet to keep the background QRCodeScannerView active. That worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
I have encountered an issue with the
CodeScannerView
where it freezes after returning from a child page.Steps to Reproduce
CodeScannerView
.CodeScannerView
.CodeScannerView
becomes unresponsive and frozen.Expected Behavior
After returning from the child page, the
CodeScannerView
should continue to function as expected.Actual Behavior
The
CodeScannerView
freezes. I don't see the green light on the Dynamic Island too. I think the camera connection is cut off.The text was updated successfully, but these errors were encountered: