Skip to content
This repository was archived by the owner on Nov 14, 2017. It is now read-only.

Commit 95ffe2f

Browse files
committed
Adds pointerEvents=box-none as suggested by facebook/react-native#99 (comment) and it works!
1 parent 0c436af commit 95ffe2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ios.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var styles = StyleSheet.create({
4040

4141
var Bug2 = React.createClass({
4242
render() {
43-
return <View style={styles.subc}>
43+
return <View style={styles.subc} pointerEvents='box-none'>
4444
<TextInput style={styles.textinput3} placeholder="You can't use me too" />
4545
</View>
4646
}
@@ -50,7 +50,7 @@ var App = React.createClass({
5050
render() {
5151
return <View style={styles.container}>
5252
<TextInput style={styles.textinput} placeholder='Works!' />
53-
<View style={styles.subc}>
53+
<View style={styles.subc} pointerEvents='box-none'>
5454
<TextInput style={styles.textinput2} placeholder="You can't use me" />
5555
</View>
5656
<Bug2/>

0 commit comments

Comments
 (0)