File tree Expand file tree Collapse file tree
packages/react-native/src/private/featureflags Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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<<68e9dbd18bfcb5e7d5cad27d8663ce66 >>
7+ * @generated SignedSource<<11f1e51c94c3e1db36cd46623b2f785a >>
88 * @flow strict
99 * @noformat
1010 */
@@ -40,6 +40,7 @@ export type ReactNativeFeatureFlagsJsOnly = Readonly<{
4040 externalElementInspectionEnabled : Getter < boolean > ,
4141 fixVirtualizeListCollapseWindowSize : Getter < boolean > ,
4242 isLayoutAnimationEnabled : Getter < boolean > ,
43+ shouldPressabilityUseNativeViewHierarchyForMeasurement : Getter < boolean > ,
4344 shouldUseAnimatedObjectForTransform : Getter < boolean > ,
4445 shouldUseRemoveClippedSubviewsAsDefaultOnIOS : Getter < boolean > ,
4546 shouldUseSetNativePropsInFabric : Getter < boolean > ,
@@ -196,6 +197,11 @@ export const fixVirtualizeListCollapseWindowSize: Getter<boolean> = createJavaSc
196197 */
197198export const isLayoutAnimationEnabled : Getter < boolean > = createJavaScriptFlagGetter ( 'isLayoutAnimationEnabled' , true ) ;
198199
200+ /**
201+ * When enabled, Pressability measures host instances from the native view hierarchy on the UI thread instead of using shadow tree layout metrics.
202+ */
203+ export const shouldPressabilityUseNativeViewHierarchyForMeasurement : Getter < boolean > = createJavaScriptFlagGetter ( 'shouldPressabilityUseNativeViewHierarchyForMeasurement' , false ) ;
204+
199205/**
200206 * Enables use of AnimatedObject for animating transform values.
201207 */
You can’t perform that action at this time.
0 commit comments