Skip to content

[Bug] scroll can not be fully disabled #1143

@lucasjinreal

Description

@lucasjinreal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions