AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] scroll can not be fully disabled

Open
#1,143 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.