Poor performance but only on the scroll thumb

Offen
#1,072 0 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
typescript

Rechercherichtung

Es wird keine Quelldatei und kein Test genannt. Beginne damit, mit tanstack/virtual 3.13.12 eine große Liste komplexer, dynamischer Elemente zu erstellen und das Verhalten des Scrollbalken-Griffes in Entwicklung und Produktion zu profilieren. Als abgeschlossen gilt die Aufgabe, wenn eine zuverlässige Reproduktion und eine verifizierte Leistungsverbesserung ohne Rückschritte bei der Listenwiedergabe vorliegen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Describe the bug

The scroll thumb consistently has incredibly bad performance on large, dynamic lists. This is pretty pervasive in my platform which uses tanstack/virtual quite a lot. More pronounced in development but still quite noticeable in production. sort of seems disconnected from real life render performance too?

Your minimal, reproducible example

Hard to repro without pretty large real life example

Steps to reproduce

use tanstack/virtual with a large list of complex items

Expected behavior

I expect the thumb to perform natively. I wonder if the scroll event is getting blocked somehow?

How often does this bug happen?

Often

Screenshots or Videos

No response

Platform

https://github.com/user-attachments/assets/7839e896-7545-404b-957a-2a2a701e0134

tanstack-virtual version

3.13.12

TypeScript version

No response

Additional context

No response

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Vorherrschende Sprache
TypeScript
Sterne
7.2k
Forks
495
Ø Merge
23 Std. 16 Min.
Gemergte PRs (30 T.)
19

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/virtual

Alle Issues in TanStack/virtual

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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