Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsupportedError: Cannot add to a fixed-length list when selecting or rendering large text in QuillEditor #2487

Open
1 task done
alhelali opened this issue Feb 24, 2025 · 1 comment
Labels
awaiting response Pending additional information or feedback from the issue creator bug Something isn't working moderate Issues that are important for improving functionality or user experience.

Comments

@alhelali
Copy link

Have you checked for an existing issue?

Flutter Quill Version

11.0.0

Steps to Reproduce

I am encountering an UnsupportedError: Cannot add to a fixed-length list when using QuillEditor to handle large text. The error occurs specifically when I try to select (highlight) a large portion of text or when the editor attempts to render the content. Interestingly, copying the text works fine, but the error is thrown during the paint operation.

Here is the full error message:

The following UnsupportedError was thrown during paint():
Unsupported operation: Cannot add to a fixed-length list

Expected results

The editor should be able to handle large text selections and rendering without throwing an UnsupportedError.

Actual results

The editor throws an UnsupportedError when attempting to add to a fixed-length list during the paint operation.

Additional Context

Screenshots / Video demonstration

[Attach media here]

Logs
[Paste logs here]
@alhelali alhelali added the bug Something isn't working label Feb 24, 2025
@CatHood0
Copy link
Collaborator

This is strange, could you show me some pictures or videos of how you are reproducing this error?

@CatHood0 CatHood0 added awaiting response Pending additional information or feedback from the issue creator moderate Issues that are important for improving functionality or user experience. labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Pending additional information or feedback from the issue creator bug Something isn't working moderate Issues that are important for improving functionality or user experience.
Projects
None yet
Development

No branches or pull requests

2 participants