-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[Sidenav] - add support for 'backdrop' as optional input #5300
Comments
I noticed this is related (not duplicate) to #4482 |
I'm looking for the same feature. We're using the sidenav for a mapping application where the sidenav is opening over the map. If the backdrop could be disabled this would give the user the ability to pan/click items on the map while having the sidenav open. Now it's disabling the map usage and users have to click out of it. I could use the 'side' mode but it's not working very well on mobile and it makes the map look strange because it compresses the width. |
+1 |
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop. Fixes angular#5300.
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop. Fixes angular#5300.
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop. Fixes angular#5300.
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop. Fixes #5300.
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop. Fixes angular#5300.
Adds the `hasBackdrop` input to the drawer container, allowing users to disable the backdrop. Fixes #5300.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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
The text was updated successfully, but these errors were encountered: