From 19d8117f98df598f76d4df3f7b831e2cd8ede097 Mon Sep 17 00:00:00 2001 From: Cierra_Runis <2864283875@qq.com> Date: Tue, 4 Jun 2024 10:42:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96Redesign=20EditorBody?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/lib/widgets/editor_body.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/lib/widgets/editor_body.dart b/app/lib/widgets/editor_body.dart index 96c073e..17e64ce 100644 --- a/app/lib/widgets/editor_body.dart +++ b/app/lib/widgets/editor_body.dart @@ -32,6 +32,10 @@ class EditorBody extends ConsumerWidget { focusNode: FocusNode(), scrollController: scrollController, configurations: QuillEditorConfigurations( + /// TIPS: This is important, + /// TIPS: It means [scrollController] is from another scroll view + /// TIPS: where the editor scrolling behavior shows + scrollable: false, controller: controller..readOnly = readOnly, padding: const EdgeInsets.symmetric(horizontal: 14.0), autoFocus: autoFocus,