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(modal): Add support for scrolling a modal #1259

Conversation

NicholasBoll
Copy link
Member

@NicholasBoll NicholasBoll commented Sep 10, 2021

Summary

Fixes #790

This PR changes the structure of Modals slightly by removing the extra div in the Modal.Body and Popup.Body and instead adds the type that Card.Body adds manually. This allows the Modal.Body to be more easily styled, but may be a breaking change. This change also allows overflow to be applied to Modals.

category

@cypress
Copy link

cypress bot commented Sep 10, 2021



Test summary

674 0 1 0Flakiness 0


Run details

Project canvas-kit
Status Passed
Commit 4bac5a0 ℹ️
Started Jan 25, 2022 12:29 AM
Ended Jan 25, 2022 12:34 AM
Duration 04:29 💡
OS Linux Ubuntu - 20.04
Browser Electron 94

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@NicholasBoll NicholasBoll changed the base branch from master to prerelease/minor January 15, 2022 00:04
@NicholasBoll NicholasBoll marked this pull request as ready for review January 15, 2022 00:04
@NicholasBoll NicholasBoll changed the base branch from prerelease/minor to master January 21, 2022 22:38
@NicholasBoll NicholasBoll changed the base branch from master to prerelease/major January 21, 2022 22:38
return (
<Stack as={Element} ref={ref} flexDirection={flexDirection} {...elemProps}>
<Stack as={Element} ref={ref} flexDirection="column" {...elemProps}>
Copy link
Member Author

Choose a reason for hiding this comment

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

Changes to this file are optional. The changes simplify Stack by removing unnecessary Typescript and decreasing prop name duplication.

@workday-canvas-kit workday-canvas-kit enabled auto-merge (squash) January 26, 2022 18:52
@workday-canvas-kit workday-canvas-kit merged commit bdd1ec9 into Workday:prerelease/major Jan 26, 2022
@NicholasBoll NicholasBoll deleted the feat/overflow-modal-support branch January 26, 2022 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modal: Support scrolling entire modal / overlay for overflowing content.
4 participants