Skip to content

Commit

Permalink
📖Redesign EditorBody
Browse files Browse the repository at this point in the history
  • Loading branch information
Cierra-Runis committed Jun 4, 2024
1 parent 9a21916 commit 19d8117
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/lib/widgets/editor_body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 19d8117

Please sign in to comment.