Skip to content

Commit

Permalink
fix(passiveKey) sdk should not block user input for passiveKey (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP authored Feb 14, 2023
1 parent 16fe55f commit b3db1d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/__snapshots__/ConfirmHcaptcha.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`ConfirmHcaptcha snapshot tests renders ConfirmHcaptcha with all props 1
<Modal
animationIn="fadeIn"
animationOut="fadeOut"
coverScreen={true}
deviceHeight={1334}
deviceWidth={750}
hasBackdrop={true}
Expand Down Expand Up @@ -159,6 +160,7 @@ exports[`ConfirmHcaptcha snapshot tests renders ConfirmHcaptcha with minimum pro
<Modal
animationIn="fadeIn"
animationOut="fadeOut"
coverScreen={true}
deviceHeight={1334}
deviceWidth={750}
hasBackdrop={true}
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class ConfirmHcaptcha extends PureComponent {
onBackButtonPress={() => this.hide('back_button')}
isVisible={show}
hasBackdrop={!passiveSiteKey}
coverScreen={!passiveSiteKey}
>
<SafeAreaView style={[styles.wrapper, { backgroundColor }]}>
<Hcaptcha
Expand Down

0 comments on commit b3db1d8

Please sign in to comment.