mirror of
https://github.com/expo/react-native-webview.git
synced 2026-11-15 09:18:06 -10:00
fix(iOS WKWebView): contentInset not properly applied (#603)
This commit is contained in:
1 parent
697e05163f
commit
6e79f2a26f
1 file changed
+1
@@ -574,6 +574,7 @@ static NSURLCredential* clientAuthenticationCredential;
|
||||
|
||||
// Ensure webview takes the position and dimensions of RNCWKWebView
|
||||
_webView.frame = self.bounds;
|
||||
_webView.scrollView.contentInset = _contentInset;
|
||||
}
|
||||
|
||||
- (NSMutableDictionary<NSString *, id> *)baseEvent
|
||||
|
||||
Reference in new issue
Block a user