Autoscroll when keyboard open on purchase screen

This commit is contained in:
Ivan Murashov
2018-03-26 00:33:24 +03:00
parent b6abdac78b
commit 1f5838ce16
4 changed files with 49 additions and 96 deletions

View File

@@ -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));
}
/// Возвращает кнопку регистрации.