AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Question] Performance issues when dragging scrollbar on large texts

Offen
#1,094 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
684
Forks
329
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.