Skip to content

Commit

Permalink
Added prevent defualt to button in pdf password page
Browse files Browse the repository at this point in the history
  • Loading branch information
alitoshmatov committed Aug 25, 2023
1 parent 34d4e54 commit f1a87c2
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
onMouseDown={(e) => e.preventDefault()}
text={translate('common.confirm')}
onPress={submitPassword}
style={styles.mt4}
Expand Down

0 comments on commit f1a87c2

Please sign in to comment.