TF-582+584 Fix bug text input is hidden and weird scroll bar in signature identity

This commit is contained in:
dab246
2022-05-25 19:48:43 +07:00
committed by Dat H. Pham
parent ba64136357
commit ce7dcbce09
6 changed files with 220 additions and 190 deletions
@@ -19,7 +19,7 @@ class IdentityFieldNoEditableBuilder {
const SizedBox(height: 8),
Container(
height: 44,
alignment: Alignment.center,
alignment: Alignment.centerLeft,
width: double.infinity,
padding: const EdgeInsets.symmetric(horizontal: 12),
decoration: BoxDecoration(
@@ -40,6 +40,7 @@ class IdentityInputFieldBuilder {
..onChange((value) => onChangeInputNameAction?.call(value))
..textInputAction(TextInputAction.next)
..addController(editingController ?? TextEditingController())
..autoFocus(true)
..addFocusNode(focusNode)
..textStyle(const TextStyle(color: Colors.black, fontSize: 16))
..keyboardType(inputType ?? TextInputType.text)