Merge pull request #86 from matthewlloyd/master
iOS: Call setNeedsLayout() in scrollViewDidScroll()
This commit is contained in:
commit
e457b9fc77
|
@ -622,6 +622,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi
|
||||||
let y = Int(scrollView.contentOffset.y / scrollView.contentScaleFactor)
|
let y = Int(scrollView.contentOffset.y / scrollView.contentScaleFactor)
|
||||||
onScrollChanged(x: x, y: y)
|
onScrollChanged(x: x, y: y)
|
||||||
}
|
}
|
||||||
|
setNeedsLayout()
|
||||||
}
|
}
|
||||||
|
|
||||||
public func onLoadStart(url: String) {
|
public func onLoadStart(url: String) {
|
||||||
|
|
Loading…
Reference in New Issue