angular / angular/components

md-sidenav: make it automatically responsive

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

説明

_Feature request_
Version: Angular Material 2.0.0-alpha.7 wax-umpire

I'd like to have an option where the sidenav can be responsive automatically, by having a breakpoint where the sidenav is shown by default when the width is higher than X.

This was already implemented in Angular Material (1) as the `md-is-locked-open`: https://material.angularjs.org/latest/api/directive/mdSidenav

Is there any plan to have this? I could submit a PR if this is wanted.

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

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

調査の方向性

まず、md-sidenav コンポーネントのエントリポイントと、issue でリンクされている Angular Material 1 の md-is-locked-open の動作を確認します。responsive オプションと breakpoint のセマンティクスを定義し、指定された幅で sidenav のデフォルトの表示状態が変わること、およびその動作がプロジェクトの関連するテストでカバーされていることを検証します。

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

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

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

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