This commit is contained in:
parent
ca04a675c0
commit
4f1473b392
1 changed files with 10 additions and 12 deletions
|
|
@ -32,12 +32,11 @@ class AutoExpandEditor extends StatelessWidget {
|
||||||
maxHeight: 360,
|
maxHeight: 360,
|
||||||
maxWidth: 400,
|
maxWidth: 400,
|
||||||
),
|
),
|
||||||
child: SingleChildScrollView(
|
|
||||||
child: IntrinsicHeight(
|
child: IntrinsicHeight(
|
||||||
child: AppFlowyEditor(
|
child: AppFlowyEditor(
|
||||||
editorState: editorState,
|
editorState: editorState,
|
||||||
disableAutoScroll: true,
|
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
|
autoScrollEdgeOffset: 24,
|
||||||
editorStyle: const EditorStyle.desktop(
|
editorStyle: const EditorStyle.desktop(
|
||||||
padding: EdgeInsets.symmetric(horizontal: 8),
|
padding: EdgeInsets.symmetric(horizontal: 8),
|
||||||
),
|
),
|
||||||
|
|
@ -52,7 +51,6 @@ class AutoExpandEditor extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue