diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/UIKitTextField.swift b/ui/BankingiOSApp/BankingiOSApp/ui/UIKitTextField.swift index 03c3d5ac..06a0d024 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/UIKitTextField.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/UIKitTextField.swift @@ -127,7 +127,9 @@ struct UIKitTextField: UIViewRepresentable { func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool { if isUserInputEnabled { - isFocussedChanged?(true) + if textField.isFirstResponder { + isFocussedChanged?(true) + } } return isUserInputEnabled