Skip to content

Commit 9292aef

Browse files
authored
fix(liveness): Hide verifying screen video (#5553)
1 parent 08b9df2 commit 9292aef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react-liveness/src/components/FaceLivenessDetector/LivenessCheck/LivenessCameraModule.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,10 @@ export const LivenessCameraModule = (
388388
height={mediaHeight}
389389
onCanPlay={handleMediaPlay}
390390
data-testid="video"
391-
className={LivenessClassNames.Video}
391+
className={classNames(
392+
LivenessClassNames.Video,
393+
isRecordingStopped && LivenessClassNames.FadeOut
394+
)}
392395
aria-label={cameraDisplayText.a11yVideoLabelText}
393396
/>
394397
<Flex

0 commit comments

Comments
 (0)