-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix(drawer): Modal --open state class needs display: flex #3431
Conversation
All 349 screenshot tests passed for commit c66e05b vs. |
All 349 screenshot tests passed for commit e96c125 vs. |
All 349 screenshot tests passed for commit f2a6ec2 vs. |
To further clarify, this fixes a bug where header content in the drawer would seem to push the bottom of the drawer's list content down and off of the viewport in cases where there's enough content to scroll. |
packages/mdc-drawer/README.md
Outdated
@@ -319,6 +319,7 @@ Mixin | Description | |||
`mdc-drawer-item-corner-radius($radius)` | Sets the corner border radius of the drawer list item. | |||
`mdc-drawer-activated-overlay-color($color)` | Sets the overlay color of the activated drawer list item. | |||
`mdc-drawer-scrim-fill-color($color)` | Sets the fill color of `mdc-drawer-scrim`. | |||
`mdc-drawer-z-index($value)` | Sets the z index of drawer. Drawer stays on top of top app bar except for clipped variant of drawer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like it should be in a separate feat(drawer) PR. Can we isolate just the mdc-drawer-modal.scss change for this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sent PR #3453
All 349 screenshot tests passed for commit 3fc1859 vs. |
…omponents#3431) (cherry picked from commit 533a46f)
Having
display: flex
on--open
state supports__content
to be scrollable.Fixes #3465