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

[pull] master from segmentio:master #1

Merged
merged 9 commits into from
Apr 21, 2020
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 21, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

colinking and others added 9 commits April 9, 2020 12:58
The `Dialog` component wraps the `children` with two `Pane`'s -- one that you can supply custom props to, and another that you cannot. Because of that second pane, you can't supply a custom header and footer via the body and still have those header/footer stick to the top/bottom of the Dialog (CMIIW!).

We can't just remove that `Pane`, since it would break the rendering behavior of children in a `Dialog`. As a compromise, this PR introduces a `header` and `footer` component that can be used to override the default header and footer.

| Before | After |
| --- | --- |
| Scrolling doesn't work: ![image](https://user-images.githubusercontent.com/2907397/74979321-43e53d80-53e3-11ea-8672-ae099b8ccf81.png) |  Scrolling works: ![image](https://user-images.githubusercontent.com/2907397/74979328-48115b00-53e3-11ea-961e-97e2eaac59eb.png) |
@pull pull bot added the ⤵️ pull label Apr 21, 2020
@pull pull bot merged commit ba6a465 into ViGi-P:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants