Bootstrap: Class modal-dialog-centered does not work on IE 11

Created on 6 Feb 2018  路  3Comments  路  Source: twbs/bootstrap

This might an issue with Flexbox and IE 11. In any case, opening up the modal does not vertically center it.

Easy to Reproduce: In IE11, go to https://getbootstrap.com/docs/4.0/components/modal/ and click on the "Launch demo modal" button in the section "Vertically centered".

IF there is a workaround class or code, please advise. Thanks.

css has-pr v4

Most helpful comment

I am having the same issue using bootstrap 4.0.0. IE10+ is supported, but .modal-dialog-centered is not working in IE11. @ChVince suggested that it is a known IE11 flexbox bug in #23638

To work around the issue, I changed the .modal-dialog-centered CSS min-height to height (demo).

All 3 comments

I am having the same issue using bootstrap 4.0.0. IE10+ is supported, but .modal-dialog-centered is not working in IE11. @ChVince suggested that it is a known IE11 flexbox bug in #23638

To work around the issue, I changed the .modal-dialog-centered CSS min-height to height (demo).

Thank @larrybahr. It works for me.

Having the same issue with the modal-dialog-centred, as a work-around I am setting the "top" css rule on the modal.

At first I thought it was just what I was doing, so I loaded the example in the documentation on IE11 and it too had the same problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

leomao10 picture leomao10  路  3Comments

kamov picture kamov  路  3Comments

ziyi2 picture ziyi2  路  3Comments

MrCsabaToth picture MrCsabaToth  路  3Comments