angular / angular/components

docs-bug(Sidenav): Autosize sidenav example uses drawer instead of sidenav

Open
#30,616 0 comments 0 reactions 0 assignees View on GitHub
area: material/sidenav docs P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Documentation Feedback

The sidenav component's "Autosize sidenav" example is incorrect: it uses mat-drawer rather than sidenav.

![Image](https://github.com/user-attachments/assets/1075bcb0-9c69-43f5-84bc-5c219a0c93e7)

### Affected documentation page

https://material.angular.io/components/sidenav/examples

Contributor guide

Open the contributing guide

Research direction

Open the affected Sidenav examples page and inspect the “Autosize sidenav” example, focusing on the component used in its markup. Update the example so it uses the sidenav component rather than the drawer component, then verify that the rendered example and its displayed source match the intended Sidenav example.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.