-
Notifications
You must be signed in to change notification settings - Fork 224
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
Auto Resizing Issue on Modal Views Presented in formSheet Style #221
Comments
@rborquezdiaz Thank you for the very detailed bug description - we will try to take a look into this! Would be interesting to understand if you see the same issue if trying on an iPhone |
Thank you for answeing so fast and being so dilligent with updating the framework, hopefully it's just a mistake on my part of the implementation. I don't know if it's relevant, but it's being presented from a non RxSwift module (In other words, a classic presentation). It's happening on iPhone as well. I'll attach a Screenshot. |
@rborquezdiaz Do you mind sharing the code used to present and the code of the |
@croossin Sure thing. One thing I noticed is that if I present the controller embeded in a Navigation Controller, it fixes the issue. But I seem to be having issues presenting the MainViewController (CardsViewController)
MainContainerViewController
Presentation
Unfortunately, the Ps. The |
Describe the bug
There seems to be an issue with Autolayout behavior when the
CardsViewController
is presented modally using amodalPresentationStyle
of types: formSheet or actionSheet. I haven't tried it on iPhone but it's really evident on iPads running iOS13 (Since formSheet is the new automatic behavior). Also worth noting, if the device is rotated, Autolayout will then rearrange the elements to another incorrect state that will remain until the controller is dismissed.If the modal view controller is presented on fullScreen, there is no issue whatsoever.
To Reproduce
Steps to reproduce the behavior:
CardsViewController
CardPartsViewControllers
instances.CardPartsViewControllers
into theCardsViewController
.Expected behavior
The elements should be displayed in the same way as if they were presented in .fullscreen.
Screenshots
Fullscreen Presentation Portrait
Fullscreen Presentation Landscape
Formsheet Presentation Portrait Before Rotation
Formsheet Presentation Landscape After Rotation
Formsheet Presentation Portait After Rotation
Info (please complete the following information):
Additional context
Will answer through responese.
The text was updated successfully, but these errors were encountered: