Ignore center screen popup


#1

Hi,

I am using IonicModal to show a form. I recently updated to new version of Ionic frramework. Before, it was all good. but now when the screen width is greater then 680 px it make the popup smaller and center screen with transparent overlay.

Apparently, it is a cool feature. But in my application whatever the screen size I want this popup to be full screen. Please can someone tell me how to do that ?


#2

Note the !important flag is for codepen issues.

.modal{
  height: 100% !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
}

#3

Done … It works … Thank you.