File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11## 0.9.3
22
33* Fixed failure of web OTP on iOS devices
4+ * Automatically closes soft keyboard when text-field entries are submitted
45
56## 0.9.2
67
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ class _BankCheckoutState extends BaseCheckoutMethodState<BankCheckout> {
199199 }
200200
201201 void _validateInputs () {
202- // TODO: Close keyboard
202+ FocusScope . of (context). requestFocus ( new FocusNode ());
203203 final FormState form = _formKey.currentState;
204204 if (form.validate ()) {
205205 form.save ();
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class _CardInputState extends State<CardInput> {
102102 }
103103
104104 void _validateInputs () {
105- // TODO: Close keyboard
105+ FocusScope . of (context). requestFocus ( new FocusNode ());
106106 final FormState form = _formKey.currentState;
107107 if (form.validate ()) {
108108 form.save ();
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class _OtpWidgetState extends BaseState<OtpWidget> {
7676 }
7777
7878 void _validateInputs () {
79- // TODO: Close keyboard
79+ FocusScope . of (context). requestFocus ( new FocusNode ());
8080 final FormState form = _formKey.currentState;
8181 if (form.validate ()) {
8282 form.save ();
You can’t perform that action at this time.
0 commit comments