Skip to content

Commit

Permalink
fix: added zIndex and controlslist
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakglobant committed Feb 1, 2024
1 parent 53a4c6d commit 951a737
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/camera/src/components/Camera/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function Camera({
width={getLandscapeScreenDimensions().width}
height={getLandscapeScreenDimensions().height}
controls={false}
style={{ zIndex: -1 }}
controlsList="nofullscreen"
/>
{children}
</View>
Expand Down Expand Up @@ -103,9 +105,9 @@ Camera.defaultProps = {
compressionOptions: undefined,
containerStyle: null,
isDisplayed: true,
onCameraPermissionError: () => {},
onCameraPermissionSuccess: () => {},
onWarningMessage: () => {},
onCameraPermissionError: () => { },
onCameraPermissionSuccess: () => { },
onWarningMessage: () => { },
resolutionOptions: undefined,
settings: { state: { resolution: 'QHD' }, dispatch: () => {} },
settings: { state: { resolution: 'QHD' }, dispatch: () => { } },
};

0 comments on commit 951a737

Please sign in to comment.