Skip to content

Conversation

@pory-gone
Copy link
Contributor

@pory-gone pory-gone commented Nov 26, 2025

Description

fix #2658

Fixed three PWA Pull-To_refresh bugs on Android Chrome.
Added e.preventDefault() in handleTouchMove to block native PTR, also added { passive: false } to touch event listeners required for prefentDefault.
Called NProgress.done() before router.replace() to prevent multiple loading bars.
Changed from router.push() to router.replace() for cleaner navigation.

Screenshots

video_2025-11-26_19-25-48.mp4

Additional Context

The fix was tested on Android PWA standalone mode via cloudflare tunnel. Added a timeout for the pull down to prevent the PTR native of chrome to appear.

Checklist

Are your changes backward compatible? Please answer below:
Yes

On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
8/10

For frontend changes: Tested on mobile, light and dark mode? Please answer below:
Tested on Android mobile PWA in both modes.

Did you introduce any new environment variables? If so, call them out explicitly here:
NaN

Did you use AI for this? If so, how much did it assist you?
I used AI to understand how to test the PWA standalone on my phone

@pory-gone pory-gone changed the title fix_refresh_android_pwa fix refresh on Android PWA Nov 26, 2025
@pory-gone pory-gone marked this pull request as ready for review November 26, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weird refresh behavior on Android PWA

1 participant