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

Commit

Permalink
Adds pointerEvents=box-none as suggested by facebook/react-native#99 …
Browse files Browse the repository at this point in the history
…(comment) and it works!
  • Loading branch information
boopathi committed Mar 30, 2015
1 parent 0c436af commit 95ffe2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var styles = StyleSheet.create({

var Bug2 = React.createClass({
render() {
return <View style={styles.subc}>
return <View style={styles.subc} pointerEvents='box-none'>
<TextInput style={styles.textinput3} placeholder="You can't use me too" />
</View>
}
Expand All @@ -50,7 +50,7 @@ var App = React.createClass({
render() {
return <View style={styles.container}>
<TextInput style={styles.textinput} placeholder='Works!' />
<View style={styles.subc}>
<View style={styles.subc} pointerEvents='box-none'>
<TextInput style={styles.textinput2} placeholder="You can't use me" />
</View>
<Bug2/>
Expand Down

0 comments on commit 95ffe2f

Please sign in to comment.