AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Question] Performance issues when dragging scrollbar on large texts

Abierto
#1,094 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
684
Forks
329
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.