diff --git a/CHANGES.rst b/CHANGES.rst index 4a6e35c30..0da0334f7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,7 @@ Bug fix: * Use white scroll bar on dark themes (#2158). * Registration: fix tap gesture on checkboxes in the terms screen. * Registration: improve validation UX on the terms screen (#2164). + * Registration: improve scrolling on the reCaptcha screen (#2165). Changes in 0.7.11 (2019-01-08) =============================================== diff --git a/Riot/Modules/Authentication/Views/AuthInputsView.m b/Riot/Modules/Authentication/Views/AuthInputsView.m index a1a55cc73..6f024caff 100644 --- a/Riot/Modules/Authentication/Views/AuthInputsView.m +++ b/Riot/Modules/Authentication/Views/AuthInputsView.m @@ -1320,6 +1320,9 @@ reCaptchaWebView.translatesAutoresizingMaskIntoConstraints = NO; [self.recaptchaContainer addSubview:reCaptchaWebView]; + // Disable the webview scrollView to avoid 2 scrollviews on the same screen + reCaptchaWebView.scrollView.scrollEnabled = NO; + [self.recaptchaContainer addConstraints: [NSLayoutConstraint constraintsWithVisualFormat:@"|-[view]-|" options:0