fix keyboard focus
This commit is contained in:
parent
d42c6301a8
commit
c7483d4676
|
@ -121,12 +121,10 @@ class _VehiclePageState extends State<VehiclePage>
|
|||
|
||||
if (_model.isEditing & isFirst) {
|
||||
_model.handleEditingChanged(false);
|
||||
setState(() {});
|
||||
}
|
||||
// if (isFirst) FocusScope.of(context).unfocus();
|
||||
if (isFirst) {
|
||||
FocusScope.of(context).unfocus();
|
||||
// FocusScope.of(context).nextFocus();
|
||||
FocusScope.of(context).nextFocus();
|
||||
setState(() {});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue