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

fix(drawer): Modal --open state class needs display: flex #3431

Merged
merged 6 commits into from
Aug 29, 2018

Conversation

abhiomkar
Copy link
Collaborator

@abhiomkar abhiomkar commented Aug 27, 2018

Having display: flex on --open state supports __content to be scrollable.

Fixes #3465

@mdc-web-bot
Copy link
Collaborator

All 349 screenshot tests passed for commit c66e05b vs. master! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 349 screenshot tests passed for commit e96c125 vs. master! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 349 screenshot tests passed for commit f2a6ec2 vs. master! 💯🎉

@kfranqueiro
Copy link
Contributor

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.

@@ -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.
Copy link
Contributor

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sent PR #3453

@mdc-web-bot
Copy link
Collaborator

All 349 screenshot tests passed for commit 3fc1859 vs. master! 💯🎉

@abhiomkar abhiomkar merged commit 533a46f into master Aug 29, 2018
@abhiomkar abhiomkar deleted the fix/drawer/modal_display_style branch August 29, 2018 15:11
adrianschmidt pushed a commit to Lundalogik/material-components-web that referenced this pull request Sep 25, 2018
@jamesmfriedman jamesmfriedman mentioned this pull request Sep 26, 2018
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants