From e5e4a6896d5734da2cc5c5c663c17e180568f51b Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 10 Sep 2024 00:32:15 +0700 Subject: [PATCH] TF-3114 Fix list buttons covered by keyboard in identity creator view --- .../presentation/identity_creator_view.dart | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/features/identity_creator/presentation/identity_creator_view.dart b/lib/features/identity_creator/presentation/identity_creator_view.dart index 18e5186d3..37e19af41 100644 --- a/lib/features/identity_creator/presentation/identity_creator_view.dart +++ b/lib/features/identity_creator/presentation/identity_creator_view.dart @@ -581,7 +581,17 @@ class IdentityCreatorView extends GetWidget const SizedBox(width: 12), Expanded(child: _buildSaveButton(context)) ]), - ) + ), + if (controller.richTextMobileTabletController != null) + ValueListenableBuilder( + valueListenable: controller.richTextMobileTabletController!.richTextController.richTextToolbarNotifier, + builder: (_, isShowing, __) { + if (isShowing) { + return const SizedBox(height: 48); + } else { + return const SizedBox.shrink(); + } + }) ]); }