IE11 :: Any Modal component :: content overflows
See original GitHub issueDetailed description
Describe in detail the issue you’re having.
Only in IE11 if you have enough components (or text) rendered inside modal body so that scroll bar should appear, then somehow it doesn’t appear and content overflows.
Is this issue related to a specific component?
Modal, ModalWrapper, ComposedModal
What browser are you working in?
IE11
What version of the Carbon Design System are you using?
v9
Steps to reproduce the issue
- Go to http://react.carbondesignsystem.com/
- Go to 1st ModalWrapper example
transactional/passive modal
- Launch modal
Additional information
p.s. I didn’t check is it carbon-components-react or carbon-components issue
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
IE11 :: Any Modal component :: content overflows · Issue #2532
Describe in detail the issue you're having. Only in IE11 if you have enough components (or text) rendered inside modal body so that...
Read more >Flexbox overflowing container height in IE11 - css
I have a simple modal window which contains 3 flexible components in a column, header, footer and main. The plan is that the...
Read more >Modal - UIkit
Modal. Create modal dialogs with different styles and transitions. Usage. The Modal component consists of an overlay, a dialog and an optional close...
Read more >4 reasons your z-index isn't working (and how to fix it)
Solution: Move the modal outside of the content parent, and into the main stacking context of the page. ... Now, the modal element...
Read more >bootstrap-ie11 | Internet Explorer 11 compatibility solution for ...
Internet Explorer 11 does not support vertical alignment of flex items when the flex container has a min-height . · The ie11CustomProperties polyfill...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can be reproduced on https://react.carbondesignsystem.com/?path=/story/modal--default and turning on scrolling content via knobs.
I believe it’s the
display: grid;
in the css that is not fully supported by IE.UPDATE: Based on https://create-react-app.dev/docs/post-processing-css/ adding
/* autoprefixer grid: autoplace */
to the beginning of your css will allow autoprefixer to do it’s thing for the grid.For Sass,
/*! autoprefixer grid: autoplace */
seems to work.And for completeness, there’s an env var option in here: https://stackoverflow.com/questions/54505882/autoprefixer-doesnt-work-in-create-react-app-while-using-sass
We did extensive testing with this and unfortunately could not find a consistent way to achieve the desired behavior with CSS only but we have a fix that only gets triggered in IE11 in our JS that will set the height explicitly if needed: function that applies the height for IE11 and Remove the height on close