Dynamic sizes lit demo crashes/ loads very slowly
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #1226 di @hiro-nikaitou — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- frontend, performance
Direzione di ricerca
Inizia con la riproduzione StackBlitz, in particolare package.json e src/main.ts, ed esegui lo scenario isolato RowVirtualizerDynamic nelle versioni del browser indicate. Confronta il comportamento del caricamento e di scrollToIndex con le versioni segnalate lit-virtual 3.13.29 e virtual-core 3.17.0. Il lavoro è completato quando la pagina si carica rapidamente, il browser non si arresta in modo anomalo e lo scorrimento fino a metà funziona.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Your demo with the latest versions of lit-virtual (3.13.29) and virtual-core (3.17.0) either loads very slowly (> 1 minute) or just crashes the browser.
I was really happy a new version was available, because 3.16 (and some versions before) broke the scrollToIndex functionality in Lit, but this release might unfortunately be worse.
Once the page actually loads the scrollToIndex does seem to work 😁
Your minimal, reproducible example
Steps to reproduce
I isolated the RowVirtualizerDynamic scenario and removed the other 2 that were on the page.
There is no real reproduction path, just try to load the page.
It can take over a minute for the page to load sometimes. And sometimes the browser just crashes.
Expected behavior
The page loads fast and the scrolling to halfway works.
How often does this bug happen?
Often
Screenshots or Videos
No response
Platform
MacOS 26.5
Chrome 148.0.7778.215
Firefox 148.0.7778.215
tanstack-virtual version
3.17.0
TypeScript version
5.6.3
Additional context
@tanstack/lit-virtual": "3.13.29"
I removed the generation of random paragraphs with faker and just have every item be the same string, that didn't solve anything.
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.
- Lingua principale
- TypeScript
- Stelle
- 7.1k
- Fork
- 472
- Merge medio
- 1g 4h
- PR unite (30g)
- 29
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TanStack/virtual
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
anchorTo: 'end' loses the end when the scroll element shrinksForse già presa @langleyd l’ha presa 8 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
marko-virtual: scrollToEnd during an in-flight prepend strands the view one prepend above the bottom (chat-pretext e2e fails on CI)Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
TanStack/virtual#1252 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
lit-virtual: VirtualizerController never applies updated options after constructionForse già presa @waterWang l’ha presa 64 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TanStack/virtual
Issue simili
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging itAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
code-yeongyu/senpi#3436 ·
I maintainer di solito rispondono entro 1 giorno
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
lingdojo/kana-dojo#32505 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
code-quality refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/gh-aw-firewall#10040 ·
I maintainer di solito rispondono entro 1 giorno
-
review-followup
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
griffinwork40/agent-afk#3868 ·
I maintainer di solito rispondono entro 1 giorno
-
area: import-export bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
amatya-aditya/obsidian-rss-dashboard#1191 ·
I maintainer di solito rispondono entro 1 giorno