Try adding this to global.scss
:
scss
CopyEdit
body.camera-active {
--background: transparent;
--ion-background-color: transparent;
}
Then, add the class when the camera is active:
typescript
CopyEdit
document.body.classList.add('camera-active');
It should resolve the black screen issue.