Skip to content

Commit

Permalink
Fix overflow of EuiModals in Chrome and Safari (#1902)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos authored Apr 30, 2019
1 parent bcbfba6 commit 4a5feea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `10.2.1`.
**Bug fixes**

- Fixed overflow scrolling of `EuiModal` and `EuiConfirmModal` for Chrome and Safari ([#1902](https://github.com/elastic/eui/pull/1902))

## [`10.2.1`](https://github.com/elastic/eui/tree/v10.2.1)

Expand Down
3 changes: 3 additions & 0 deletions src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
@include euiOverflowShadow;
flex-grow: 1;
overflow: hidden;
// The below fixes scroll on Chrome and Safari
display: flex;
flex-direction: column;

.euiModalBody__overflow {
@include euiScrollBar;
Expand Down

0 comments on commit 4a5feea

Please sign in to comment.