mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
W3CPointerEvents: fix pointercancel test scrollview on Android (#36959)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36959 Changelog: [Internal] - W3CPointerEvents: fix pointercancel test scrollview on Android On Android the contents of the scrollview were not large enough to allow for scrolling (i.e. they didn't overflow the scroll container). This change sets the height of the content and container explicitly to ensure that the view can be scrolled. Reviewed By: vincentriemer Differential Revision: D45064333 fbshipit-source-id: 6aa264d569639bb7d906a3afd887985caa563070
This commit is contained in:
committed by
Facebook GitHub Bot
parent
daa12dc6d2
commit
679c5b38f7
+2
-1
@@ -157,10 +157,11 @@ function PointerEventPointerCancelTouchTestCase(
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
scrollContainer: {width: '100%', height: '100%'},
|
||||
scrollContainer: {width: '100%', height: 100},
|
||||
target: {
|
||||
backgroundColor: 'black',
|
||||
padding: 32,
|
||||
height: 200,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user