We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d46b467 commit 102942aCopy full SHA for 102942a
1 file changed
index.js
@@ -383,7 +383,7 @@ class Drawer extends Component {
383
{this.props.children}
384
{this.captureGestures !== false
385
? <View
386
- pointerEvents={ this.shouldCaptureGestures() ? 'auto' : 'none' }
+ pointerEvents={ this._open && this.shouldCaptureGestures() ? 'auto' : 'none' }
387
ref={c => this.mainOverlay = c}
388
style={[styles.mainOverlay, this.props.styles && this.props.styles.mainOverlay]}
389
/>
0 commit comments