mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
[fix] Touchable 'touchAction' value
This commit is contained in:
@@ -286,7 +286,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
actionable: {
|
||||
cursor: 'pointer',
|
||||
touchAction: 'manipulate'
|
||||
touchAction: 'manipulation'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -203,7 +203,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
actionable: {
|
||||
cursor: 'pointer',
|
||||
touchAction: 'manipulate'
|
||||
touchAction: 'manipulation'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ const TouchableWithoutFeedback = createReactClass({
|
||||
const styles = StyleSheet.create({
|
||||
actionable: {
|
||||
cursor: 'pointer',
|
||||
touchAction: 'manipulate'
|
||||
touchAction: 'manipulation'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user