Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Add formSheetPreferredContentSize prop to allow for custom sized formSheet modals #330

Closed
ShaneMckenna23 opened this issue Mar 1, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ShaneMckenna23
Copy link
Contributor

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 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.

Which platform(s) does your issue occur on?

  • iOS
  • Device: iPad
@jdnichollsc
Copy link
Member

Thanks a lot for your contribution mate! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants