feat: ensure the ai writer block visible when generating result

This commit is contained in:
Lucas.Xu 2025-03-10 18:10:03 +08:00
parent 7b32a92290
commit ba1dfc6de4
3 changed files with 7 additions and 5 deletions

View File

@ -366,7 +366,9 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage>
contextMenuItems: customContextMenuItems,
// customize the header and footer.
header: widget.header,
autoScrollEdgeOffset: UniversalPlatform.isDesktopOrWeb
? 250
: appFlowyEditorAutoScrollEdgeOffset,
footer: GestureDetector(
behavior: HitTestBehavior.translucent,
onTap: () async {
@ -375,7 +377,7 @@ class _AppFlowyEditorPageState extends State<AppFlowyEditorPage>
},
child: SizedBox(
width: double.infinity,
height: UniversalPlatform.isDesktopOrWeb ? 200 : 400,
height: UniversalPlatform.isDesktopOrWeb ? 300 : 400,
),
),
dropTargetStyle: AppFlowyDropTargetStyle(

View File

@ -90,8 +90,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "63e92c1"
resolved-ref: "63e92c19f506dab795d6e1829f82e63a073e7f11"
ref: c802beb
resolved-ref: c802beb8b97ca6261a4ca96db0e1e920e3f3a570
url: "https://github.com/AppFlowy-IO/appflowy-editor.git"
source: git
version: "5.1.0"

View File

@ -180,7 +180,7 @@ dependency_overrides:
appflowy_editor:
git:
url: https://github.com/AppFlowy-IO/appflowy-editor.git
ref: "63e92c1"
ref: "c802beb"
appflowy_editor_plugins:
git: