diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index b62d04336aed..7af04cae859d 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -3,6 +3,7 @@ * [*] Improves the error message shown when trying to create a new site with non-English characters in the domain name [https://github.com/wordpress-mobile/WordPress-iOS/pull/17985] * [*] Quick Start: updated the design for the Quick Start cell on My Site [#18095] * [*] Reader: Fixed a bug where comment replies are misplaced after its parent comment is moderated [#18094] +* [*] Bug fix: Allow keyboard to be dismissed when the password field is focused during WP.com account creation. * [*] iPad: Fixed a bug where the current displayed section wasn't selected on the menu [#18118] 19.4 diff --git a/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.swift b/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.swift index c893ef240331..0875b8d283b9 100644 --- a/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.swift +++ b/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.swift @@ -105,6 +105,7 @@ class SignupEpilogueCell: UITableViewCell { configureTextContentTypeIfNeeded(for: newCellType) configureAccessibility(for: newCellType) configureEditable(for: newCellType) + configureKeyboardReturnKey(for: newCellType) addBottomBorder(withColor: .divider, leadingMargin: cellLabelLeadingConstraint.constant) @@ -209,4 +210,10 @@ private extension SignupEpilogueCell { } } + func configureKeyboardReturnKey(for cellType: EpilogueCellType) { + if cellType == .displayName { + cellField.enablesReturnKeyAutomatically = true + } + } + } diff --git a/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.xib b/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.xib index 9bcd19aaf8b1..73e7ca33856d 100644 --- a/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.xib +++ b/WordPress/Classes/ViewRelated/NUX/SignupEpilogueCell.xib @@ -1,9 +1,9 @@ - + - + @@ -17,19 +17,19 @@ - + - + @@ -63,4 +63,9 @@ + + + + +