Dynamic sizes lit demo crashes/ loads very slowly
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
- #1226 @hiro-nikaitou による — マージされずにクローズ
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- frontend, performance
調査の方向性
StackBlitz の再現環境、特に package.json と src/main.ts から始め、指定されたブラウザーバージョンで分離された RowVirtualizerDynamic シナリオを実行します。読み込みと scrollToIndex の動作を、報告されている lit-virtual 3.13.29 および virtual-core 3.17.0 のバージョンと比較します。ページがすぐに読み込まれ、ブラウザーがクラッシュせず、途中までのスクロールが機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 7.1k
- フォーク
- 472
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TanStack/virtual のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
TanStack/virtual#1307 · コメント 17 件 ·
メンテナーはふだん 1 日以内に返信
-
anchorTo: 'end' loses the end when the scroll element shrinks対応中かも @langleyd が 7 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
marko-virtual: scrollToEnd during an in-flight prepend strands the view one prepend above the bottom (chat-pretext e2e fails on CI)再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
TanStack/virtual#1252 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
lit-virtual: VirtualizerController never applies updated options after construction対応中かも @waterWang が 63 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
TanStack/virtual の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
one-zero-eight/apply-bot#39 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bigbluebutton/bbb-ui-components-react#108 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
high priority
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
CI-CMG/deep-sea-corals-exb#84 · コメント 1 件 ·