mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Enable synchronous scroll events (#44490)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44490 Changelog: [internal] Enable the experimental syncOnScroll flag in JS. Reviewed By: sammy-SC Differential Revision: D56886404 fbshipit-source-id: 6d5081cdcd319b73f0dc4329adc4e2cd7ba17139
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dbc0334159
commit
52ca6f6569
Vendored
+1
@@ -31,6 +31,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {
|
||||
pagingEnabled: true,
|
||||
persistentScrollbar: true,
|
||||
horizontal: true,
|
||||
enableSyncOnScroll: true,
|
||||
scrollEnabled: true,
|
||||
scrollEventThrottle: true,
|
||||
scrollPerfTag: true,
|
||||
|
||||
+2
-1
@@ -45,6 +45,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig =
|
||||
diff: require('../../Utilities/differ/pointsDiffer'),
|
||||
},
|
||||
decelerationRate: true,
|
||||
enableSyncOnScroll: true, // Fabric only.
|
||||
disableIntervalMomentum: true,
|
||||
maintainVisibleContentPosition: true,
|
||||
pagingEnabled: true,
|
||||
@@ -134,7 +135,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig =
|
||||
contentInsetAdjustmentBehavior: true,
|
||||
decelerationRate: true,
|
||||
endDraggingSensitivityMultiplier: true,
|
||||
enableSyncOnScroll: true, // iOS-Fabric only.
|
||||
enableSyncOnScroll: true, // Fabric only.
|
||||
directionalLockEnabled: true,
|
||||
disableIntervalMomentum: true,
|
||||
indicatorStyle: true,
|
||||
|
||||
Reference in New Issue
Block a user