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

View File

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

View File

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