angular / angular/components

CDK Virtual Scroll Viewport with CDK A11y ActiveDescendantKeyManager

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

説明

#### What is the expected behavior?

Virtual Scroll to work with CDK A11y ActiveDescendantKeyManager

#### What is the current behavior?

Since virtual scroll only loads partial information and loads more when you scroll (recycling the view), ActiveDescendantKeyManager only get the indexes of the current items loaded by the . As I load more, the indexes repeats themselves, since the virtual scroll adds and deletes items

#### What are the steps to reproduce?

https://stackblitz.com/edit/angular-zmawwx

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

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

調査の方向性

リンクされた StackBlitz の再現から始め、CDK の仮想スクロール viewport が ActiveDescendantKeyManager に項目を公開する仕組みを追跡します。表示項目の再利用動作と key manager のインデックス処理を比較します。仮想スクロールでさらに項目が読み込まれても重複するインデックスが発生せず key manager が引き続き動作し、再現によってその動作が確認できれば完了です。

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

評価

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

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

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