Skip to content

Commit 8e69858

Browse files
authored
[494] Keep the keyboard on screen when adding a new item in a checklist note (#498)
* [494] fix: keep the keyboard on screen when adding a new item in a checklist note * [494] fix: keep the keyboard on screen when adding a new item in a checklist note
1 parent 7f61d5c commit 8e69858

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lib/pages/editor/widgets/editors/checklist_editor.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class ChecklistEditor extends ConsumerWidget {
3939
lines: note.checklistLines,
4040
enabled: !readOnly,
4141
autofocusFirstLine: isNewNote,
42+
textInputAction: TextInputAction.newline,
43+
textCapitalization: TextCapitalization.sentences,
4244
onChanged: (checklistLines) => onChecklistChanged(ref, checklistLines),
4345
),
4446
),

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,10 @@ packages:
471471
dependency: "direct main"
472472
description:
473473
name: flutter_checklist
474-
sha256: "792decb149d84e0591a6bbbcd288d625740ce32ad77c30f23bed762ea544edc8"
474+
sha256: "537efdb44b23501bb6381824790b63a1303de9d1f090093463162c193f744c03"
475475
url: "https://pub.dev"
476476
source: hosted
477-
version: "1.5.3"
477+
version: "1.5.5"
478478
flutter_displaymode:
479479
dependency: "direct main"
480480
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
flex_color_picker: ^3.7.1
2525
flutter:
2626
sdk: flutter
27-
flutter_checklist: ^1.5.3
27+
flutter_checklist: ^1.5.5
2828
flutter_displaymode: ^0.6.0
2929
flutter_expandable_fab: ^2.5.2
3030
flutter_fgbg: ^0.7.1

0 commit comments

Comments
 (0)