Skip to content

Commit

Permalink
Don't block touches to the background
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin committed Jul 13, 2017
1 parent 80edfc1 commit 454aea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ var ModalBox = React.createClass({

var content = (
<View style={[styles.transparent, styles.absolute]} pointerEvents={'box-none'}>
<View style={{ flex: 1 }} onLayout={this.onContainerLayout}>
<View style={{ flex: 1 }} pointerEvents={'box-none'} onLayout={this.onContainerLayout}>
{visible && this.renderBackdrop()}
{visible && this.renderContent()}
</View>
Expand Down

0 comments on commit 454aea7

Please sign in to comment.