Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(drawer): allow for backdrop to be disabled #9381

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

crisbeto
Copy link
Member

Adds the hasBackdrop input to the drawer container, allowing users to disable the backdrop.

Fixes #5300.

@crisbeto crisbeto requested a review from mmalerba as a code owner January 13, 2018 20:39
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jan 13, 2018
return this._hasBackdrop;
}
set hasBackdrop(value: any) {
this._hasBackdrop = coerceBooleanProperty(value);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means that the user can't set it back to it's initial state right (null). I think we should treat null/undefined as null

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. It's changed.

@crisbeto crisbeto force-pushed the 5300/drawer-has-backdrop branch from 1afee23 to bf9a73e Compare January 16, 2018 18:02
@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed pr: needs review labels Jan 16, 2018
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop.

Fixes angular#5300.
@crisbeto crisbeto force-pushed the 5300/drawer-has-backdrop branch from bf9a73e to 6d606c2 Compare January 30, 2018 21:37
@jelbourn jelbourn merged commit 6d4e052 into angular:master Feb 13, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Sidenav] - add support for 'backdrop' as optional input
4 participants