Merge pull request #86 from matthewlloyd/master

iOS: Call setNeedsLayout() in scrollViewDidScroll()
This commit is contained in:
Lorenzo Pichilli 2019-05-22 16:18:36 +02:00 committed by GitHub
commit e457b9fc77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -622,6 +622,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi
let y = Int(scrollView.contentOffset.y / scrollView.contentScaleFactor)
onScrollChanged(x: x, y: y)
}
setNeedsLayout()
}
public func onLoadStart(url: String) {