ankosoftware / ng2-bootstrap-modal

Library to simplify the work with bootstrap modal dialogs
MIT License
54 stars 62 forks source link

Auto size and position should fit the screen. #45

Open domske opened 7 years ago

domske commented 7 years ago

Currently the size and position of this modal is fixed defined. The maximal size of the dialog should be the current view-width and view-height of the page. Also adjust the position left and top to this size and always center it on screen. Also if the developer set his own size and position. The modal should never be on offscreen.