MJRefresh icon indicating copy to clipboard operation
MJRefresh copied to clipboard

NavigationController+WKWebView下拉刷新问题

Open PengfeiWang666 opened this issue 10 years ago • 3 comments

NavigationController+ViewController+WKWebView下拉刷新的时候,有50%几率造成刷新后webView的上移,即frame相对屏幕为self.view.bounds

PengfeiWang666 avatar Jun 01 '16 08:06 PengfeiWang666

我也出现同样的问题,找不到解决办法,不知你解决了吗?

DarkAngel7 avatar Oct 08 '16 02:10 DarkAngel7

+1

ByteRax avatar Jan 26 '18 03:01 ByteRax

你的下拉刷新调用的是什么方法? reload? 你需要监听 HTML 的 document.body.offsetHeight 去对页面进行微调, 因为渲染到 ScrollView 的关系, 这个 ContentSize 会异常. 每个系统实现还有可能因为 Apple 修改 Renderer 的关系, 导致其他 bug

wolfcon avatar Jun 27 '19 07:06 wolfcon