Commit e457b9fc authored by Lorenzo Pichilli's avatar Lorenzo Pichilli Committed by GitHub

Merge pull request #86 from matthewlloyd/master

iOS: Call setNeedsLayout() in scrollViewDidScroll()
parents 0e1639bb 0dfbfe9a
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment