appflowy-editor icon indicating copy to clipboard operation
appflowy-editor copied to clipboard

[Question] Performance issues when dragging scrollbar on large texts

Open okmaybenot opened this issue 7 months ago • 1 comments

  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 – 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.

okmaybenot avatar Apr 11 '25 19:04 okmaybenot

Hi! How did you manage to integrate JK_fast_listview into the AppFlowy editor? The performance improvement looks great, and I’d love to implement this solution as well.

Do you have any suggestions? Did you create your own fork?

StroeAndreX avatar May 05 '25 02:05 StroeAndreX