Skip to content

Commit

Permalink
Added comment to prevent defualt in pdf password
Browse files Browse the repository at this point in the history
  • Loading branch information
alitoshmatov committed Aug 29, 2023
1 parent 649cda6 commit 99a967c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PDFView/PDFPasswordForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ function PDFPasswordForm({isFocused, isPasswordInvalid, shouldShowLoadingIndicat
secureTextEntry
/>
<Button
// Keep focus on the TextInput effectively keeping keyboard open
onMouseDown={(e) => e.preventDefault()}
text={translate('common.confirm')}
onPress={submitPassword}
Expand Down

0 comments on commit 99a967c

Please sign in to comment.