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

Reverting backport of #10969 that didn't go through PR #11193

Merged
merged 4 commits into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Revert \"Implement rowGap, columnGap and gap flex properties (#10969)\"",
"packageName": "react-native-windows",
"email": "jthysell@microsoft.com",
"dependentChangeType": "patch"
}
9 changes: 0 additions & 9 deletions vnext/Microsoft.ReactNative/Modules/NativeUIManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -626,15 +626,6 @@ static void StyleYogaNode(
YGValue result = YGValueOrDefault(value, YGValue{YGUndefined, YGUnitPoint} /*default*/, shadowNode, key);

SetYogaUnitValueHelper(yogaNode, result, YGNodeStyleSetMaxHeight, YGNodeStyleSetMaxHeightPercent);
} else if (key == "rowGap") {
float result = NumberOrDefault(value, 0.0f /*default*/);
YGNodeStyleSetGap(yogaNode, YGGutterRow, result);
} else if (key == "columnGap") {
float result = NumberOrDefault(value, 0.0f /*default*/);
YGNodeStyleSetGap(yogaNode, YGGutterColumn, result);
} else if (key == "gap") {
float result = NumberOrDefault(value, 0.0f /*default*/);
YGNodeStyleSetGap(yogaNode, YGGutterAll, result);
} else if (key == "margin") {
YGValue result = YGValueOrDefault(value, YGValue{YGUndefined, YGUnitPoint} /*default*/, shadowNode, key);

Expand Down