I currently use this library on one of my projects and require the need to display an in-app browser, on an iPad, with portrait dimensions when the device is in landscape. I simply need a way to define the size of the modal.
formSheet modals can be resized with the preferredContentSize attribute.
Note
The preferredContentSize attribute is ignored on iPhone. I believe this is due to formSheet presentation on iPhone is adapted to full screen as of IOS 13.
Overview
I currently use this library on one of my projects and require the need to display an in-app browser, on an iPad, with portrait dimensions when the device is in landscape. I simply need a way to define the size of the modal.
formSheet
modals can be resized with thepreferredContentSize
attribute.Note
The
preferredContentSize
attribute is ignored on iPhone. I believe this is due toformSheet
presentation on iPhone is adapted to full screen as of IOS 13.Which platform(s) does your issue occur on?