This commit is contained in:
Suresh, Kamlesh 2020-08-25 18:00:07 -04:00
parent 63f43d4b3b
commit f67b8a644d

View File

@ -142,7 +142,7 @@ extension WebView : WKUIDelegate {
guard let self = self else {
return
}
let scrollHeight = self.webView?.scrollView.contentSize.height ?? 44.0
let scrollHeight = webView.scrollView.contentSize.height
if let height = result as? CGFloat,
height < scrollHeight {
self.webViewHeight?.constant = height