Skip to content

Commit 4356259

Browse files
javachemeta-codesync[bot]
authored andcommitted
Update gating for fixImageSrcDimensionPropagation (#55494)
Summary: Pull Request resolved: #55494 Changelog: [Internal] Reviewed By: yungsters Differential Revision: D92880748 fbshipit-source-id: 1feb2877e2ce60dbbad3c36807f23a4ddef275b4
1 parent dd3c200 commit 4356259

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ const definitions: FeatureFlagDefinitions = {
948948
ossReleaseStage: 'none',
949949
},
950950
fixImageSrcDimensionPropagation: {
951-
defaultValue: false,
951+
defaultValue: true,
952952
metadata: {
953953
description:
954954
'Fix image dimensions not being passed through when src is used',

packages/react-native/src/private/featureflags/ReactNativeFeatureFlags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<7d3f35de8808eb703debde85df332df8>>
7+
* @generated SignedSource<<17ced46048bb3bdff5023a2a2aa03e9c>>
88
* @flow strict
99
* @noformat
1010
*/
@@ -161,7 +161,7 @@ export const externalElementInspectionEnabled: Getter<boolean> = createJavaScrip
161161
/**
162162
* Fix image dimensions not being passed through when src is used
163163
*/
164-
export const fixImageSrcDimensionPropagation: Getter<boolean> = createJavaScriptFlagGetter('fixImageSrcDimensionPropagation', false);
164+
export const fixImageSrcDimensionPropagation: Getter<boolean> = createJavaScriptFlagGetter('fixImageSrcDimensionPropagation', true);
165165

166166
/**
167167
* Fixing an edge case where the current window size is not properly calculated with fast scrolling. Window size collapsed to 1 element even if windowSize more than the current amount of elements

0 commit comments

Comments
 (0)