angular / angular/components

feat(sidenav): add a modal option

Open
#22,769 2 comments 0 reactions 0 assignees View on GitHub
Accessibility area: material/sidenav feature G P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Feature Description

Add an input to the mat-sidenav that determines whether it is treated as a modal dialog. This is where we landed after some discussion about the sidenav's current focus trapping behavior: https://github.com/angular/components/pull/21962#issuecomment-796983169

Contributor guide

Open the contributing guide

Research direction

Start by locating the mat-sidenav implementation and its existing focus-trapping behavior, then read the linked pull-request discussion for the agreed modal semantics. Done means the sidenav exposes an input that controls whether it is treated as a modal dialog, with behavior and tests covering that option.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.