AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Question] Performance issues when dragging scrollbar on large texts

Open
#1,094 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
684
Forks
329
PR merge metrics
No merged PRs in 30d

Description

1. Great library, thanks.

2. Not sure if this is a bug or a feature request, but I noticed that the "Large Document (10,000+ Rows)" example program has huge performance issues when you start dragging the scrollbar (both in debug and release mode). Video below

https://github.com/user-attachments/assets/1cc14f83-9764-4dec-bfed-cf9b50d06ce5

At first I thought it was some implementation issue, but after a bit of research and experimentation I found that it seems to be a flutter [issue] (https://github.com/flutter/flutter/issues/75399). One of the comments suggested [JK_fast_listview](https://pub.dev/packages/jk_fast_listview) – I (partially) integrated it into appflowy-editor and the results seem promising, see the second video:

https://github.com/user-attachments/assets/b5b330c2-62c3-49da-9fe0-8375a57b140a

So my question is: is this a known problem? Are there any solutions? And if not, maybe this approach is worth considering?

Thank you! I'd like to hear your thoughts.

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.