Skip to content
Permalink
Browse files

fix(WKWebview): Update webview property when allowsBackForwardNavigat…

…ionGestures prop changes (#173)
  • Loading branch information...
ccorcos authored and Titozzz committed Jan 11, 2019
1 parent ac406bf commit 4bc1dc20fd5f69d79bfffb58ad54f06bce65e75f
Showing with 7 additions and 0 deletions.
  1. +7 −0 ios/RNCWKWebView.m
@@ -125,6 +125,13 @@ - (void)didMoveToWindow
}
}

// Update webview property when the component prop changes.
- (void)setAllowsBackForwardNavigationGestures:(BOOL)allowsBackForwardNavigationGestures {
_allowsBackForwardNavigationGestures = allowsBackForwardNavigationGestures;
_webView.allowsBackForwardNavigationGestures = _allowsBackForwardNavigationGestures;
}


- (void)removeFromSuperview
{
if (_webView) {

0 comments on commit 4bc1dc2

Please sign in to comment.
You can’t perform that action at this time.