Bug: Datepicker outside visible area when opened in dialog
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
When the mat-datepicker is opened in a component shown with the MatDialogRef on a small screen, the calendar picker is shown outside the visible area.
### Reproduction
1. Create a component that contains mat-datepicker
2. Open that component with the MatDialogRef
3. Reduce the screen size to something around iPad size
4. Click on the calendar icon of the mat-datepicker to open the date selection
5. See that dialog is outside of the visible area
https://stackblitz.com/edit/angular-mvkv5q
### Expected Behavior
The calendar-dialog can still be operated and all dates and actions are visible or accessible throw scroll.
### Actual Behavior
The calendar-dialog is outside of the visible area
### Environment
OS: Windows 10
Browser Chrome
Version 109.0.5414.122
コントリビューションガイド
調査の方向性
リンクされた StackBlitz の再現手順から始め、iPad サイズのビューポートで MatDialogRef を介して開かれる mat-datepicker に焦点を当てます。Chrome で位置決めの問題を再現し、修正が完了したら、カレンダーダイアログが表示されたまま、操作可能なまま、またはスクロールして到達可能なままであることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100