apeatling / web-pull-to-refresh

A native-like JavaScript pull to refresh implementation for the web.
https://apeatling.com/articles/javascript-pull-to-refresh-web/
MIT License
545 stars 93 forks source link

Works on iOS safari in the browser but not as a PWA #27

Closed mighty-js closed 2 years ago

mighty-js commented 2 years ago

Unless I'm doing something wrong I cannot get it to run in the standalone PWA version.

mighty-js commented 2 years ago

The methods to keep the page from scrolling do not seems to work in the PWA. I'm up against the limitations of the PWA at the moment. [I'll note that fixed position elements work different on safari iOS than chromium.] [Also when the page pulls down on mobile the visible height compute is still the same, even if you pull half way down.] Must be outside of the DOM.