Skip to content

Safari trackpad zoom polish and PWA install support - #18

Merged
vgomx merged 1 commit into
mainfrom
cursor/ui-polish-ci
Jul 11, 2026
Merged

Safari trackpad zoom polish and PWA install support#18
vgomx merged 1 commit into
mainfrom
cursor/ui-polish-ci

Conversation

@vgomx

@vgomx vgomx commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Improve Safari trackpad pinch/pan smoothness by normalizing wheel deltas, clamping large pinch steps, coalescing viewport transforms to one rAF update per frame, and adding GPU compositing hints
  • Add installable PWA support via vite-plugin-pwa (manifest + service worker) with an Install section in Settings and Chrome beforeinstallprompt handling

Test plan

  • Safari: pinch-zoom and two-finger pan on canvas — should feel smoother and less jumpy than before
  • Chrome: verify trackpad zoom/pan still works normally
  • Settings → Install: confirm instructions show per platform; Chrome install button appears when eligible
  • Chrome: install from browser menu or in-app button; app opens standalone
  • Safari macOS: File → Add to Dock works after deploy with HTTPS
  • npm test (157 tests) and npm run build

Made with Cursor

Normalize and clamp wheel deltas with rAF-coalesced viewport transforms for smoother Safari pinch/pan, and wire vite-plugin-pwa with an in-app install section in Settings.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vgomx
vgomx merged commit 50aa893 into main Jul 11, 2026
1 check passed
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