[flags] make enableScrollEndPolyfill dynamic (#32517)

Will roll this out in www
This commit is contained in:
Ricky 2025-03-04 11:55:34 -05:00 committed by GitHub
parent 443b7ff2a8
commit d48c69246c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -39,6 +39,7 @@ export const enableUseEffectCRUDOverload = __VARIANT__;
export const enableFastAddPropertiesInDiffing = __VARIANT__;
export const enableLazyPublicInstanceInFabric = false;
export const enableViewTransition = __VARIANT__;
export const enableScrollEndPolyfill = __VARIANT__;
// TODO: These flags are hard-coded to the default values used in open source.
// Update the tests so that they pass in either mode, then set these

View File

@ -37,6 +37,7 @@ export const {
transitionLaneExpirationMs,
enableFastAddPropertiesInDiffing,
enableViewTransition,
enableScrollEndPolyfill,
} = dynamicFeatureFlags;
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@ -116,7 +117,5 @@ export const enableLazyPublicInstanceInFabric = false;
export const enableSwipeTransition = false;
export const enableScrollEndPolyfill = false;
// Flow magic to verify the exports of this file match the original version.
((((null: any): ExportsType): FeatureFlagsType): ExportsType);