fixed new album dialog scroll on field focus
This commit is contained in:
parent
da1acfcb92
commit
e70ffed44f
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class _CreateAlbumDialogState extends State<CreateAlbumDialog> {
|
|||
// when the field gets focus, we wait for the soft keyboard to appear
|
||||
// then scroll to the bottom to make sure the field is in view
|
||||
if (_nameFieldFocusNode.hasFocus) {
|
||||
await Future.delayed(Durations.softKeyboardDisplayDelay);
|
||||
await Future.delayed(Durations.softKeyboardDisplayDelay + const Duration(milliseconds: 500));
|
||||
_scrollToBottom();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue