From 2c6dc903ad9eae62fb132b120c98475e0a309276 Mon Sep 17 00:00:00 2001 From: Remon <> Date: Sun, 27 Aug 2023 15:01:56 +0100 Subject: [PATCH] FIX: #1376 focus issue on iOS --- packages/stripe/lib/src/widgets/card_form_field.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/stripe/lib/src/widgets/card_form_field.dart b/packages/stripe/lib/src/widgets/card_form_field.dart index 7ab7de580..b3554fd69 100644 --- a/packages/stripe/lib/src/widgets/card_form_field.dart +++ b/packages/stripe/lib/src/widgets/card_form_field.dart @@ -473,10 +473,10 @@ class _MethodChannelCardFormFieldState setState(() {}); if (!isFocused) { blur(); + focus(); + return; } - - focus(); } @override