browser(webkit): restore occlusion detection disabled

This commit is contained in:
Pavel Feldman 2021-03-30 23:50:53 -07:00
parent ceb4bc25d9
commit 3455c3265f
2 changed files with 3 additions and 2 deletions

View file

@ -1,2 +1,2 @@
1455
Changed: yurys@chromium.org Tue 30 Mar 2021 02:36:32 PM PDT
1456
Changed: pavel.feldman@gmail.com Tue Mar 30 23:50:14 PDT 2021

View file

@ -163,6 +163,7 @@ static void* keyValueObservingContext = &keyValueObservingContext;
- (void)awakeFromNib
{
_webView = [[WKWebView alloc] initWithFrame:[containerView bounds] configuration:_configuration];
_webView._windowOcclusionDetectionEnabled = NO;
_webView.allowsMagnification = YES;
_webView.allowsBackForwardNavigationGestures = YES;