Repository navigation
[RNMobile] Disables supportsLayout by default on mobile - #33847
Conversation
|
Size Change: 0 B Total Size: 1.08 MB ℹ️ View Unchanged
|
fluiddot
left a comment
There was a problem hiding this comment.
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 widthandFull widthalignment options unavailable. To achieve this thesupportsLayoutsetting introduced in #29335 is set by default tofalseon mobile.How has this been tested?
Wide widthandFull widthoptions are availableScreenshots
Types of changes
Bug fix
Checklist:
*.native.jsfiles for terms that need renaming or removal).