feature(CdkVirtualScrollViewport): allow to scroll to center. method: scrollToIndex
オープン
area: cdk/scrolling
feature
P3
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Feature Description
Allow scrolling to index and center the position.
method: scrollToIndex
component: CdkVirtualScrollViewport
#### Use Case
Scroll into view and center an item.
ex: see HTML scrollToIndex options:
{
behavior: "auto",
block: "center",
inline: "center",
}
コントリビューションガイド
調査の方向性
CdkVirtualScrollViewportとそのscrollToIndexメソッドから始めます。現在インデックスへのスクロールがどのように機能しているかを確認し、提案されたスクロールオプションに従って、要求された項目を中央に配置できることを完了条件とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100