Merge pull request #7496 from LucasXu0/ai_writer_position_improvement

feat: ensure the ai writer block visible when generating result
This commit is contained in:
Lucas 2025-03-11 09:31:24 +08:00 committed by GitHub
commit 459aca5291
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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: "5841b4c"
resolved-ref: "5841b4c1bab170da66c52c60977690f2817b8fc4"
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: "5841b4c"
appflowy_editor_plugins:
git: