-
Notifications
You must be signed in to change notification settings - Fork 843
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 overflow of EuiModals in Chrome and Safari #1902
Conversation
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.
Scrollable in:
MacOS 10.14:
- Chrome 74
- Firefox 66
- Safari 12
Win 8.1 (VM)
- IE 11
- Chrome 74
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.
Scrollable in... MacOS 10.14 Chrome 74 Win 7 (VM) IE 11 |
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.
👍 LGTM
Fantastic. Thanks all! Merging |
Beginning in Chrome 74 (see elastic/eui#1902), the timeline notes modal can overflow in some browsers, per the _Before_ gif below. This fix uses `EuiModal` and other `EUI` components to address the overflow issue across all the browsers tested in the gifs below: ### Before (Chrome `74.0`)  ### After (Chrome `74.0`)  ### After (Firefox `67.0`)  ### After (Safari `12.1.1`)  ### After (IE`11.0.9600`)  https://github.com/elastic/ingest-dev/issues/442
## [SIEM] Fixes timeline notes overflowing the modal (#37134) Beginning in Chrome 74 (see elastic/eui#1902), the timeline notes modal can overflow in some browsers, per the _Before_ gif below. This fix uses `EuiModal` and other `EUI` components to address the overflow issue across all the browsers tested in the gifs below: ### Before (Chrome `74.0`)  ### After (Chrome `74.0`)  ### After (Firefox `67.0`)  ### After (Safari `12.1.1`)  ### After (IE`11.0.9600`)  https://github.com/elastic/ingest-dev/issues/442
Beginning in Chrome 74 (see elastic/eui#1902), the timeline notes modal can overflow in some browsers, per the _Before_ gif below. This fix uses `EuiModal` and other `EUI` components to address the overflow issue across all the browsers tested in the gifs below:      https://github.com/elastic/ingest-dev/issues/442
## [SIEM] Fixes timeline notes overflowing the modal (#37134) Beginning in Chrome 74 (see elastic/eui#1902), the timeline notes modal can overflow in some browsers, per the _Before_ gif below. This fix uses `EuiModal` and other `EUI` components to address the overflow issue across all the browsers tested in the gifs below: ### Before (Chrome `74.0`)  ### After (Chrome `74.0`)  ### After (Firefox `67.0`)  ### After (Safari `12.1.1`)  ### After (IE`11.0.9600`)  https://github.com/elastic/ingest-dev/issues/442
Beginning in Chrome 74 (see elastic/eui#1902), the timeline notes modal can overflow in some browsers, per the _Before_ gif below. This fix uses `EuiModal` and other `EUI` components to address the overflow issue across all the browsers tested in the gifs below:      https://github.com/elastic/ingest-dev/issues/442
## [SIEM] Fixes timeline notes overflowing the modal (elastic#37134) Beginning in Chrome 74 (see elastic/eui#1902), the timeline notes modal can overflow in some browsers, per the _Before_ gif below. This fix uses `EuiModal` and other `EUI` components to address the overflow issue across all the browsers tested in the gifs below: ### Before (Chrome `74.0`)  ### After (Chrome `74.0`)  ### After (Firefox `67.0`)  ### After (Safari `12.1.1`)  ### After (IE`11.0.9600`)  https://github.com/elastic/ingest-dev/issues/442
Chrome 74 broke our implementation of overflow scrolling in modals. This adds an extra flex layer to ensure that scrolling works.
Before
After
I have checked in:
Mac 10.14
Windows 7
Checklist
[ ] This was checked in dark mode[ ] Any props added have proper autodocs[ ] Documentation examples were added[ ] This was checked for breaking changes and labeled appropriately[ ] Jest tests were updated or added to match the most common scenarios[ ] This was checked against keyboard-only and screenreader scenarios[ ] This required updates to Framer X components