Skip to content

Commit

Permalink
Merge pull request #86 from matthewlloyd/master
Browse files Browse the repository at this point in the history
iOS: Call setNeedsLayout() in scrollViewDidScroll()
  • Loading branch information
pichillilorenzo authored May 22, 2019
2 parents 0e1639b + 0dfbfe9 commit e457b9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Classes/InAppWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e457b9f

Please sign in to comment.