Skip to content

Commit a7d15ed

Browse files
kassensriteshshukla04
authored andcommitted
Fixed borderBottomEndRadius inconsistency on RTL
1 parent 891ee78 commit a7d15ed

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

packages/react-native-fantom/runtime/mocks/ReactNativeInternalFeatureFlags.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@
99
* @oncall react_native
1010
*/
1111

12-
module.exports = {
13-
enableFabricCompleteRootInCommitPhase: true,
14-
};
12+
module.exports = {};

packages/react-native/Libraries/ReactNative/__tests__/ReactFabric-Suspense-itest.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,6 @@ describe('Suspense', () => {
186186
expect(resolveFunction).toBeNull();
187187
});
188188

189-
// TODO(T207868872): this test only succeeds with enableFabricCompleteRootInCommitPhase enabled.
190-
// enableFabricCompleteRootInCommitPhase is hardcoded to true in the testing environment.
191189
it('shows stale data while transition is happening', () => {
192190
cache.clear();
193191
cache.set(SquareId.Green, {color: 'green'});

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/style/BorderRadiusStyle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ internal data class BorderRadiusStyle(
164164
CornerRadii(it, width, height)
165165
} ?: zeroRadii,
166166
bottomLeft =
167-
(endEnd ?: bottomStart ?: bottomLeft ?: uniform)?.let {
167+
(endEnd ?: bottomEnd ?: bottomLeft ?: uniform)?.let {
168168
CornerRadii(it, width, height)
169169
} ?: zeroRadii,
170170
bottomRight =
171-
(startEnd ?: bottomEnd ?: bottomRight ?: uniform)?.let {
171+
(startEnd ?: bottomStart ?: bottomRight ?: uniform)?.let {
172172
CornerRadii(it, width, height)
173173
} ?: zeroRadii,
174174
width = width,

0 commit comments

Comments
 (0)