Skip to content

Quill in Scrollview produces exception errors with certain actions (iOS and Android) #585

@next2heaven

Description

@next2heaven

There is an issue when pasting text using the press and hold method in iOS. This produces the following error:

Failed assertion: line 107 pos 12: '_positions.isNotEmpty': ScrollController not attached to any scroll views.

When selecting a word and then moving the start or end handles to extend the selection it will produce this error (iOS and Android):

ScrollController not attached to any scroll views.
'package:flutter/src/widgets/scroll_controller.dart':
package:flutter/…/widgets/scroll_controller.dart:1
Failed assertion: line 107 pos 12: '_positions.isNotEmpty'

I've built an example project to showcase the issue here: https://github.com/next2heaven/issue_multi_quill

I'm using the latest version of flutter-quill and flutter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions