mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
fix(iOS WKWebView): contentInset not properly applied (#603)
This commit is contained in:
committed by
Thibault Malbranche
parent
697e05163f
commit
6e79f2a26f
@@ -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