-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
[@nativescript/camera] IOS Camera stays behind page content if opened in nested page-router-outlet #78
Comments
I've found adjusting the modalPresentaitonStyle fixed the issue for me locally: imagePickerController.modalPresentationStyle = UIModalPresentationStyle.CurrentContext; to: imagePickerController.modalPresentationStyle = UIModalPresentationStyle.FullScreen; Which in the node_module looks something like: imagePickerController.modalPresentationStyle = 3 /* CurrentContext */; to: imagePickerController.modalPresentationStyle = 0 /* FullScreen */; I've also tried I'm showing a camera in two places:
I tested using:
I'd checked elsewhere on the web for similar issues and one mentioned that the iOS restriction came in somewhere around iOS 13. Only thing I've not been able to check so far is what happens on an iPad, as my guess is this may change functionality. |
Have pushed a temporary package to Worth testing if anyone else gets the time. To install without having to change the name I use:
|
let me paste the bug from the previous version
unfortunately still not fixed, hence the request for help
NativeScript/nativescript-camera#234
"
I have a nested page-router-outlet configuration in my app. Root component template has a page-router-outlet. Child page has the following template:
<grid-layout rows="*, auto"> <page-router-outlet row="0"></page-router-outlet> <stack-layout row="1" style="height:50;background-color:red;"></stack-layout> </grid-layout>
I load a child page inside the page-router-outlet shown inside the template above. If I open the camera inside that child component, stack-layout component in the template above stays above the camera and blocks the camera buttons.
If I use a router-outlet inside the template above, I still have the same problem.
"
is there any chance to fix this or adjust the patch?
iOS 7.1.0, device
is there any chance to fix this or adjust the patch?
The text was updated successfully, but these errors were encountered: