Why is the jquery weui pull-up refresh not triggered until the page is pulled to the top?

clipboard.png

clipboard.png
is it because of this thing

guys, I took a look at this line of code in jquery weui.js:

var offset = container.scrollHeight() - ($(window).height() + scrollTop)

the $(window). Height () in

gets the window height incorrectly.
just change it to window.innerHeight;. Why

then you have to change the js file. Is there any other way

Feb.28,2021
Menu