Ionic 5 Modal View Full Screen

Hi,

I implemented modal view in my app. It cannot present as full screen in both iPad and Desktop browser.
May I know whether I miss any parameters to set?
Appreciate you share the alternative solution.

Thank you

Andy

As you can see here, the Modal accepts --min-width and --min-height. I think setting them to 100% should to the Trick? :thinking:

Hey, @EinfachHans, thank you for the prompt reply.

Share my findings as below (I am using Ionic 5):

  1. Define class in global scss (in theme folder), set width:100%, height:100%
  2. In Modal Controller, inject class name just defined in step #1

Outstanding issue:
Since the modal view height is 100%, the buttons on the navigation bar of the modal view is overlapped with the status bar in iOS devices, hence, it’s not easy for the user to tap.
Need further optimise the stylesheet.
If anyone of you have the experience, please feel free to share.
Hope this helps others who has the same question to Ionic 5.

Thanks