angular / angular/components

virtual-scroll: allow setting the scrolled-to index

オープン
#10,116 コメント 6 件 リアクション 16 件 担当者 0 名 GitHub で見る
area: cdk/scrolling feature P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

Add an input to the virtual scroll container that allows developers to set the index of the first element that should be visible in the viewport.

We should also allow specifying an index that is greater than the length of the currently loaded data. Once the data loads we can scroll to the specified index.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、仮想スクロールコンテナのエントリポイントと、現在の viewport インデックスがどのように管理されているかを確認します。データ読み込みの経路を追跡し、読み込み済みデータの範囲を超えるインデックスの要求を保持できる方法を把握します。必要なデータの読み込みが完了した時点で、開発者が最初に表示されるインデックスを設定でき、コンテナがそのインデックスまでスクロールすれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。