Skip to content

Commit

Permalink
Merge pull request #26025 from alitoshmatov/25570/pdf-password-keep-k…
Browse files Browse the repository at this point in the history
…eyboard
  • Loading branch information
mountiny committed Aug 31, 2023
2 parents 4237dd3 + 99a967c commit dd71b38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/PDFView/PDFPasswordForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ 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}
style={styles.mt4}
Expand Down

0 comments on commit dd71b38

Please sign in to comment.