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

Class modal-dialog-centered does not work on IE 11 #25569

Closed
Webdude737 opened this issue Feb 6, 2018 · 3 comments
Closed

Class modal-dialog-centered does not work on IE 11 #25569

Webdude737 opened this issue Feb 6, 2018 · 3 comments

Comments

@Webdude737
Copy link

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.

@larrybahr
Copy link

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).

@peterhpchen
Copy link

Thank @larrybahr. It works for me.

@ray73864
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v4.1.3
  
Shipped
Development

No branches or pull requests

6 participants