[fix] Touchable 'touchAction' value

This commit is contained in:
Nicolas Gallagher
2018-02-19 18:27:49 -08:00
parent 9333e7e887
commit b28581f44e
4 changed files with 16 additions and 4 deletions

View File

@@ -286,7 +286,7 @@ const styles = StyleSheet.create({
},
actionable: {
cursor: 'pointer',
touchAction: 'manipulate'
touchAction: 'manipulation'
}
});

View File

@@ -203,7 +203,7 @@ const styles = StyleSheet.create({
},
actionable: {
cursor: 'pointer',
touchAction: 'manipulate'
touchAction: 'manipulation'
}
});

View File

@@ -201,7 +201,7 @@ const TouchableWithoutFeedback = createReactClass({
const styles = StyleSheet.create({
actionable: {
cursor: 'pointer',
touchAction: 'manipulate'
touchAction: 'manipulation'
}
});

View File

@@ -52,7 +52,19 @@ const ViewStylePropTypes = {
overscrollBehaviorY: overscrollBehaviorType,
perspective: oneOfType([number, string]),
perspectiveOrigin: string,
touchAction: string,
touchAction: oneOf([
'auto',
'inherit',
'manipulation',
'none',
'pan-down',
'pan-left',
'pan-right',
'pan-up',
'pan-x',
'pan-y',
'pinch-zoom'
]),
transitionDelay: string,
transitionDuration: string,
transitionProperty: string,