AppFlowy-IO / AppFlowy-IO/appflowy-editor
[Bug] scroll can not be fully disabled
- Dominant language
- Dart
- Stars
- 684
- Forks
- 329
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Description
i want using it as a preview mode, no interactions, just view in markdown.
```
@override
Widget build(BuildContext context) {
return AppFlowyEditor(
editorScrollController: null,
disableScrollService: true,
disableAutoScroll: true,
disableKeyboardService: true,
disableSelectionService: false,
// editable: widget.editable,
editable: false,
editorStyle: widget.editorStyle ?? _buildPreviewEditorStyle(),
editorState: editorState,
blockComponentBuilders: blockComponentBuilders,
showMagnifier: true,
shrinkWrap: true,
);
}
```
this does n 't work, the view still scroll itself, i nwat it no scrol, just showing as normal widget, since i might put it in listview or column
any solution?
### How to Reproduce
ret
### Expected Behavior
ret
### Operating System
rewt
### AppFlowy Editor Version(s)
ret
### Screenshots
_No response_
### Additional Context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.