-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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: Modal not showing in landscape orientation #11036
Comments
Yeah, Modal doesn't support this very well. Have you tried using something else? Unless you are building a hybrid application, it will be much easier to use normal View components inside the main react view. You can use ExNavigation or something similar for this use case. Because you probably don't need to use Modal, I would consider this a feature request that can be posted on product pains. That way the rest of the community can vote on it and get the attention of the core RN team if it is important. If want to fix this and your solution is isolated to |
Thanks for showing me where to fix this. I have been looking through those files and it seems that a commit has been made that is specific to this issue. I will update my project to |
i found that this is not a bug, as shown on the doc Modal section
|
@sckoh +1, that solves the issue. Thanks. |
Cool that helps, but on android it works without this attribute in portrait and landscape mode! |
@sckoh , Thank you. Works perfect!!! |
Description
Modal component in iOS does not show the modal in landscape mode when the screen is in landscape mode. The screen is rotated back to portrait mode.
GIF: https://gfycat.com/BronzeSparseJunebug
Reproduction
I have provided code so that you can reproduce the bug here:
https://github.com/saigrandhi/modal_bug
Solution
I am willing to work on this bug but would like some guidance on where to start.
Additional Information
The text was updated successfully, but these errors were encountered: