diff --git a/src/components/PDFView/PDFPasswordForm.js b/src/components/PDFView/PDFPasswordForm.js index 29e6e2c49ec6..42d2202de8b7 100644 --- a/src/components/PDFView/PDFPasswordForm.js +++ b/src/components/PDFView/PDFPasswordForm.js @@ -95,11 +95,6 @@ function PDFPasswordForm({isFocused, isPasswordInvalid, shouldShowLoadingIndicat onSubmit(password); }; - const validateAndNotifyPasswordBlur = () => { - validate(); - onPasswordFieldFocused(false); - }; - return shouldShowForm ? ( onPasswordFieldFocused(true)} - onBlur={validateAndNotifyPasswordBlur} + onBlur={() => onPasswordFieldFocused(false)} autoFocus shouldDelayFocus={shouldDelayFocus} secureTextEntry