diff --git a/NextcloudTalk/AuthenticationViewController.m b/NextcloudTalk/AuthenticationViewController.m index 4b842900d..467f87cf9 100644 --- a/NextcloudTalk/AuthenticationViewController.m +++ b/NextcloudTalk/AuthenticationViewController.m @@ -195,9 +195,15 @@ - (void)webView:(WKWebView *)webView didReceiveAuthenticationChallenge:(NSURLAut - (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation { + // Disable user interaction to prevent any unwanted zooming while the navigation is ongoing + [self.webView setUserInteractionEnabled:NO]; [_activityIndicatorView stopAnimating]; [_activityIndicatorView removeFromSuperview]; } +- (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation { + [self.webView setUserInteractionEnabled:YES]; +} + @end