In our company we have an IDP system that handles user logins and has a session timeout. To re-enable the login we sometimes require to refresh the current page. We would like to have the user refresh the page by scrolling down (as is the norm with webpages on mobile).
Now it is the case in Vaadin, that on mobile devies, the “pull-to-refresh” feature (scrolling up when already on top of webpage) is disabled. We would like to enable this feature for certain pages.
I have found this discussion where a similar issue is discussed:
https://vaadin.com/forum/t/how-to-make-pwa-to-refresh-on-pull-down/164811
The provided Vaadin addon does not seem to be maintained actively and it is also not an optimal solution to have to wrap everything in a Scroller.
Another angle was to set the “overscroll-behavior-y” CSS property, but this also did not solve the issue.
Is there a possibility to enable the “pull-to-refresh” feature? How can this be done? Are there any preferred alternatives?