angular / angular/components

docs-bug(CdkOverlay): Overlay scroll strategies do not work unless main body is the scroll

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

説明

### Documentation Feedback

The documentation for CdkOverlay doesn't mention the ScrollStrategies only work if the `window` object is the one scrolling. As explained in this bug report: #6157 in order to make it work for other scrollable elements, one needs to use the `cdk-scrollable` attribute, but this is not mentioned in the documentation.

Could you add an explanation of it there?

Also, I notice even setting `cdk-scrollable` doesn't make the `block` strategy work with non-window scrolls. So I think even more documentation is missing about how to make all this work.

### Affected documentation page

https://material.angular.io/cdk/overlay/api

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

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

調査の方向性

https://material.angular.io/cdk/overlay/api の影響を受ける CDK Overlay API ドキュメントページから始め、issue #6157 に記載された動作を確認してください。ユーザーが各スクロール戦略の動作を理解できるように、cdk-scrollable の要件と、ウィンドウ以外のスクロールにおける block strategy の制限事項を文書化してください。

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

評価

技術スタック
angular, typescript
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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