AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Question] Performance issues when dragging scrollbar on large texts

Ouverte
#1,094 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Dart
Étoiles
684
Forks
329
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.