angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.27k stars 6.73k forks source link

iOSModal.css #6384

Closed nikleh closed 7 years ago

nikleh commented 7 years ago

This fixes the disappearing modal in iOS

nikleh commented 7 years ago

Currently, the bootstrap modal disappears when iOS devices change from landscape to portrait or portrait to landscape display. The opaque background remains, but the modal disappears. This has to do with the margin/fixed width.

These changes fix this issue.

wesleycho commented 7 years ago

Going to close this as too much of a breaking change - this should be done on the user's side, as this is a level of styling that is guaranteed to break many people's apps. This is better fixed in Bootstrap itself, or on a user by user basis.