From 7eb94de30ff52948eb2b5becd60fea6aaef26223 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 6 Apr 2023 08:48:25 +0100 Subject: [PATCH] fix: Keyboard's Caps button blinks when textfield focus changes --- src/pages/settings/Profile/DisplayNamePage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/settings/Profile/DisplayNamePage.js b/src/pages/settings/Profile/DisplayNamePage.js index 55b59b0f0d5cf..c4ea5f84fbcb6 100644 --- a/src/pages/settings/Profile/DisplayNamePage.js +++ b/src/pages/settings/Profile/DisplayNamePage.js @@ -102,6 +102,7 @@ class DisplayNamePage extends Component { label={this.props.translate('common.firstName')} defaultValue={lodashGet(currentUserDetails, 'firstName', '')} maxLength={CONST.DISPLAY_NAME.MAX_LENGTH} + autoCapitalize="words" /> @@ -111,6 +112,7 @@ class DisplayNamePage extends Component { label={this.props.translate('common.lastName')} defaultValue={lodashGet(currentUserDetails, 'lastName', '')} maxLength={CONST.DISPLAY_NAME.MAX_LENGTH} + autoCapitalize="words" />