Skip to content

[Sidenav] - add support for 'backdrop' as optional input #5300

Closed
@Lior-G

Description

@Lior-G

Bug, feature request, or proposal:

I would like to suggest to have 'backdrop' as an optional input for Sidenav compoment.
Default would be true for 'mode' = 'over' or 'push', and false for 'side'

What is the expected behavior?

if 'backdrop' input is provided, to overwrite the default; and show/hide backdrop accordingly

What is the current behavior?

Backdrop exists for 'mode' = 'over' or 'push', and does not exist for 'side'

What are the steps to reproduce?

current documentation on Sidenav:
https://material.angular.io/components/sidenav/overview

What is the use-case or motivation for changing an existing behavior?

Give user the flexibility to not have 'backdrop' on 'mode' = 'over' or 'push' or do have it on 'side'

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"@angular/core": "4.2.0-beta.0",
"@angular/material": "^2.0.0-beta.3",
"typescript": "~2.3.2"

Is there anything else we should know?

this change would be appreciated

Metadata

Metadata

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions