-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[RNMobile] Disables supportsLayout by default on mobile #33847
Conversation
Size Change: 0 B Total Size: 1.08 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎊 !
Tested on iPad Pro (12.9-inch) (iOS 14.4) and Galaxy Samsung S20 FE 5G (Android 10).
Probably is out of the scope of this PR but I noticed that we don't have any test that covers the alignment functionality to prevent a case like this one in the future, what do you think about adding an integration or UI test?
Thank you for the prompt review @fluiddot and for detecting the issue and pointing to the solution 🙏
I agree with that and I think this is not out of scope for this PR. To avoid delaying the fix though I opened a separate issue to revisit this wordpress-mobile/gutenberg-mobile#3792 |
That's perfect, thanks for opening the issue 🙇 . |
Description
This PR handles an incoming breakage after the merge of #33359 making the
Wide width
andFull width
alignment options unavailable. To achieve this thesupportsLayout
setting introduced in #29335 is set by default tofalse
on mobile.How has this been tested?
Wide width
andFull width
options are availableScreenshots
Types of changes
Bug fix
Checklist:
*.native.js
files for terms that need renaming or removal).