|
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<<73bd98850713966c32d122c3d3283df9>> |
| 7 | + * @generated SignedSource<<24076ce2a95804d6dda128740cbbae8f>> |
8 | 8 | * @flow strict
|
9 | 9 | */
|
10 | 10 |
|
@@ -33,6 +33,8 @@ export type ReactNativeFeatureFlagsJsOnly = $ReadOnly<{
|
33 | 33 | avoidStateUpdateInAnimatedPropsMemo: Getter<boolean>,
|
34 | 34 | disableInteractionManager: Getter<boolean>,
|
35 | 35 | enableAccessToHostTreeInFabric: Getter<boolean>,
|
| 36 | + enableVirtualViewDebugFeatures: Getter<boolean>, |
| 37 | + enableVirtualViewDoubleStateHidden: Getter<boolean>, |
36 | 38 | fixVirtualizeListCollapseWindowSize: Getter<boolean>,
|
37 | 39 | isLayoutAnimationEnabled: Getter<boolean>,
|
38 | 40 | scheduleAnimatedCleanupInMicrotask: Getter<boolean>,
|
@@ -127,6 +129,16 @@ export const disableInteractionManager: Getter<boolean> = createJavaScriptFlagGe
|
127 | 129 | */
|
128 | 130 | export const enableAccessToHostTreeInFabric: Getter<boolean> = createJavaScriptFlagGetter('enableAccessToHostTreeInFabric', false);
|
129 | 131 |
|
| 132 | +/** |
| 133 | + * Enables VirtualView debug features such as logging and overlays. |
| 134 | + */ |
| 135 | +export const enableVirtualViewDebugFeatures: Getter<boolean> = createJavaScriptFlagGetter('enableVirtualViewDebugFeatures', false); |
| 136 | + |
| 137 | +/** |
| 138 | + * Enables a VirtualView workaround that triggers a second state update when changing to hidden mode. |
| 139 | + */ |
| 140 | +export const enableVirtualViewDoubleStateHidden: Getter<boolean> = createJavaScriptFlagGetter('enableVirtualViewDoubleStateHidden', false); |
| 141 | + |
130 | 142 | /**
|
131 | 143 | * 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
|
132 | 144 | */
|
|
0 commit comments