From 922219a852b7101acef54c8a9e97dad27fabfbec Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Tue, 1 Mar 2022 16:27:52 -0800 Subject: [PATCH] Fix ScrollView Static ViewConfigs Summary: This should fix the SVC === NVC check for ScrollView and AndroidHorizontalScrollView. Changelog: [Internal] Reviewed By: p-sun Differential Revision: D34542873 fbshipit-source-id: 7e25d3a6c1417877b64501981652d767ba2eda48 --- .../ScrollView/AndroidHorizontalScrollViewNativeComponent.js | 1 + Libraries/Components/ScrollView/ScrollViewNativeComponent.js | 1 + 2 files changed, 2 insertions(+) diff --git a/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js b/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js index 4a71580256f..7b2ce2060d2 100644 --- a/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +++ b/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js @@ -50,6 +50,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = { removeClippedSubviews: true, borderTopRightRadius: true, borderLeftColor: {process: require('../../StyleSheet/processColor')}, + pointerEvents: true, }, }; diff --git a/Libraries/Components/ScrollView/ScrollViewNativeComponent.js b/Libraries/Components/ScrollView/ScrollViewNativeComponent.js index 534b5fefbd3..675ee113fd7 100644 --- a/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +++ b/Libraries/Components/ScrollView/ScrollViewNativeComponent.js @@ -74,6 +74,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = removeClippedSubviews: true, borderTopRightRadius: true, borderLeftColor: {process: require('../../StyleSheet/processColor')}, + pointerEvents: true, }, } : {