Autoscroll when keyboard open on purchase screen
This commit is contained in:
@@ -57,15 +57,13 @@ class RegistrationScreenState extends BaseState<RegistrationScreen> {
|
||||
|
||||
@override
|
||||
getTextWidget() {
|
||||
return new EnsureVisibleWhenFocused(
|
||||
focusNode: _focusNode,
|
||||
child: new TextField(
|
||||
return new TextField(
|
||||
focusNode: _focusNode,
|
||||
keyboardType: TextInputType.number,
|
||||
decoration: new InputDecoration.collapsed(
|
||||
hintText: getHintString(),
|
||||
hintStyle: new TextStyle(color: greyTextColor, fontSize: 16.0)),
|
||||
onChanged: (text) => handleUserInput(text)));
|
||||
onChanged: (text) => handleUserInput(text));
|
||||
}
|
||||
|
||||
/// Возвращает кнопку регистрации.
|
||||
|
||||
Reference in New Issue
Block a user