fix(iOS WKWebView): contentInset not properly applied (#603)
This commit is contained in:
parent
697e05163f
commit
6e79f2a26f
|
@ -574,6 +574,7 @@ static NSURLCredential* clientAuthenticationCredential;
|
||||||
|
|
||||||
// Ensure webview takes the position and dimensions of RNCWKWebView
|
// Ensure webview takes the position and dimensions of RNCWKWebView
|
||||||
_webView.frame = self.bounds;
|
_webView.frame = self.bounds;
|
||||||
|
_webView.scrollView.contentInset = _contentInset;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSMutableDictionary<NSString *, id> *)baseEvent
|
- (NSMutableDictionary<NSString *, id> *)baseEvent
|
||||||
|
|
Loading…
Reference in New Issue