|
4 | 4 | * This source code is licensed under the MIT license found in the |
5 | 5 | * LICENSE file in the root directory of this source tree. |
6 | 6 | * |
7 | | - * @generated SignedSource<<68e9dbd18bfcb5e7d5cad27d8663ce66>> |
| 7 | + * @generated SignedSource<<11f1e51c94c3e1db36cd46623b2f785a>> |
8 | 8 | * @flow strict |
9 | 9 | * @noformat |
10 | 10 | */ |
@@ -40,6 +40,7 @@ export type ReactNativeFeatureFlagsJsOnly = Readonly<{ |
40 | 40 | externalElementInspectionEnabled: Getter<boolean>, |
41 | 41 | fixVirtualizeListCollapseWindowSize: Getter<boolean>, |
42 | 42 | isLayoutAnimationEnabled: Getter<boolean>, |
| 43 | + shouldPressabilityUseNativeViewHierarchyForMeasurement: Getter<boolean>, |
43 | 44 | shouldUseAnimatedObjectForTransform: Getter<boolean>, |
44 | 45 | shouldUseRemoveClippedSubviewsAsDefaultOnIOS: Getter<boolean>, |
45 | 46 | shouldUseSetNativePropsInFabric: Getter<boolean>, |
@@ -196,6 +197,11 @@ export const fixVirtualizeListCollapseWindowSize: Getter<boolean> = createJavaSc |
196 | 197 | */ |
197 | 198 | export const isLayoutAnimationEnabled: Getter<boolean> = createJavaScriptFlagGetter('isLayoutAnimationEnabled', true); |
198 | 199 |
|
| 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 | + |
199 | 205 | /** |
200 | 206 | * Enables use of AnimatedObject for animating transform values. |
201 | 207 | */ |
|
0 commit comments