21 則留言 (21 則留言)47 個反應 (47 個反應)0 位負責人 (0 位負責人)TypeScript6,650 個分叉 (6,650 個分叉)batch import
P4area: material/dialogfeaturehelp wanted
倉庫指標
- 星標
- 24,044 顆星 (24,044 顆星)
- PR 合併指標
- PR 指標待抓取 (PR 指標待抓取)
描述
Bug, feature request, or proposal:
feature request
What is the expected behavior?
An ability to present modal dialogs fullscreen.
What is the current behavior?
Can't present modal dialogs fullscreen.
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
This feature is in Material design specifications:
https://material.io/guidelines/components/dialogs.html#dialogs-full-screen-dialogs
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
貢獻者指南
- 研究方向
- 該問題要求為 MatDialog 實現全螢幕模式,如 Material Design 指南所述。為實現此功能,首先應審查 Angular Material 原始碼中現有的 MatDialog 元件(例如 dialog.ts、dialog container.ts),以了解其配置選項。然後,考慮向 MatDialogConfig 介面新增一個 'fullscreen' 屬性,並實作相應的全螢幕覆蓋層和面板的 CSS 樣式,同時確保保持無障礙存取性。請檢查問題評論以獲取進一步的討論或設計決策。
- 技術棧
- typescript
- 領域
- frontend
- 議題類型
- 功能
- 前置要求
- AngularTypeScript