From 3cf3e9644e3a9791ac19a304eb77a2f821c37027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Chiotti?= <44336112+maelchiotti@users.noreply.github.com> Date: Fri, 8 Aug 2025 19:21:25 +0200 Subject: [PATCH 1/2] [494] fix: keep the keyboard on screen when adding a new item in a checklist note --- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 7f17599e..fab7e66f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -471,10 +471,10 @@ packages: dependency: "direct main" description: name: flutter_checklist - sha256: "792decb149d84e0591a6bbbcd288d625740ce32ad77c30f23bed762ea544edc8" + sha256: ce7c91fbe36adaf3200ef068084b0eacfdc89700f170afad08a264adbfa7a391 url: "https://pub.dev" source: hosted - version: "1.5.3" + version: "1.5.4" flutter_displaymode: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 7681fc38..3281aa47 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -24,7 +24,7 @@ dependencies: flex_color_picker: ^3.7.1 flutter: sdk: flutter - flutter_checklist: ^1.5.3 + flutter_checklist: ^1.5.4 flutter_displaymode: ^0.6.0 flutter_expandable_fab: ^2.5.2 flutter_fgbg: ^0.7.1 From 737f6f6a2b69189dd7bfba0f91c5fc7a5eefae53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Chiotti?= <44336112+maelchiotti@users.noreply.github.com> Date: Fri, 8 Aug 2025 20:29:28 +0200 Subject: [PATCH 2/2] [494] fix: keep the keyboard on screen when adding a new item in a checklist note --- lib/pages/editor/widgets/editors/checklist_editor.dart | 2 ++ pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/pages/editor/widgets/editors/checklist_editor.dart b/lib/pages/editor/widgets/editors/checklist_editor.dart index 20014207..90498fe5 100644 --- a/lib/pages/editor/widgets/editors/checklist_editor.dart +++ b/lib/pages/editor/widgets/editors/checklist_editor.dart @@ -39,6 +39,8 @@ class ChecklistEditor extends ConsumerWidget { lines: note.checklistLines, enabled: !readOnly, autofocusFirstLine: isNewNote, + textInputAction: TextInputAction.newline, + textCapitalization: TextCapitalization.sentences, onChanged: (checklistLines) => onChecklistChanged(ref, checklistLines), ), ), diff --git a/pubspec.lock b/pubspec.lock index fab7e66f..abba89c5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -471,10 +471,10 @@ packages: dependency: "direct main" description: name: flutter_checklist - sha256: ce7c91fbe36adaf3200ef068084b0eacfdc89700f170afad08a264adbfa7a391 + sha256: "537efdb44b23501bb6381824790b63a1303de9d1f090093463162c193f744c03" url: "https://pub.dev" source: hosted - version: "1.5.4" + version: "1.5.5" flutter_displaymode: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 3281aa47..c362ce15 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -24,7 +24,7 @@ dependencies: flex_color_picker: ^3.7.1 flutter: sdk: flutter - flutter_checklist: ^1.5.4 + flutter_checklist: ^1.5.5 flutter_displaymode: ^0.6.0 flutter_expandable_fab: ^2.5.2 flutter_fgbg: ^0.7.1