diff --git a/lib/features/login/presentation/login_controller.dart b/lib/features/login/presentation/login_controller.dart index e3e73d664..7946426e3 100644 --- a/lib/features/login/presentation/login_controller.dart +++ b/lib/features/login/presentation/login_controller.dart @@ -471,6 +471,8 @@ class LoginController extends ReloadableController { void invokeDNSLookupToGetJmapUrl() { log('LoginController::invokeDNSLookupToGetJmapUrl:_username $_username'); + FocusManager.instance.primaryFocus?.unfocus(); + if (_username == null) { consumeState(Stream.value(Left(AuthenticationUserFailure(CanNotFoundUserName())))); } else {