Skip to content

Disable pull-to-refresh in the installed PWA#17

Merged
martinezharo merged 2 commits into
mainfrom
agent/disable-pwa-pull-to-refresh
Jul 17, 2026
Merged

Disable pull-to-refresh in the installed PWA#17
martinezharo merged 2 commits into
mainfrom
agent/disable-pwa-pull-to-refresh

Conversation

@martinezharo

Copy link
Copy Markdown
Owner

What changed

  • Added standalone-PWA-specific scroll behavior using overscroll-behavior-y: none.
  • Loaded the PWA-only stylesheet from the root layout.

Why

On supported mobile Chromium browsers, pulling down from the top of an installed KlipCode PWA could trigger a page refresh and make the experience feel more like a website than a native app.

Impact

The behavior is scoped to display-mode: standalone, so KlipCode opened in a normal browser tab keeps its existing scrolling behavior.

Validation

  • Confirmed the branch is two commits ahead of main with only src/app/layout.tsx and src/app/pwa.css changed.
  • No automated test run was available in the connector environment; this is a CSS-only change.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
klipcode 8862a84 Commit Preview URL

Branch Preview URL
Jul 17 2026, 04:15 PM

@martinezharo
martinezharo marked this pull request as ready for review July 17, 2026 16:26
@martinezharo
martinezharo merged commit 225df3f into main Jul 17, 2026
3 checks passed
@martinezharo
martinezharo deleted the agent/disable-pwa-pull-to-refresh branch July 17, 2026 16:26
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.

1 participant