feat: mobile polish — tap feedback, accessibility, PWA manifest#183
Open
prazgaitis wants to merge 1 commit into
Open
feat: mobile polish — tap feedback, accessibility, PWA manifest#183prazgaitis wants to merge 1 commit into
prazgaitis wants to merge 1 commit into
Conversation
- Add -webkit-tap-highlight-color: transparent to suppress blue tap flash - Add touch-action: manipulation on interactive elements (no 300ms delay) - Add overscroll-behavior: none to prevent pull-to-refresh interference - Add prefers-reduced-motion support to disable animations for sensitive users - Remove maximumScale: 1 from viewport (was blocking pinch-to-zoom, WCAG issue) - Add theme-color meta and apple-mobile-web-app-capable for native-feel chrome - Add web app manifest (manifest.ts) for Add to Home Screen support - Fix useIsMobile SSR hydration flash using useSyncExternalStore - Use <article> for feed cards with content-visibility: auto for render perf - Add active:bg/active:opacity press states on all mobile nav items and feed tabs - Enforce min-h-[44px] on feed filter tabs for touch target compliance - Add smooth scroll-behavior with reduced-motion fallback Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
-webkit-tap-highlight-color: transparent(no blue flash),touch-action: manipulation(no 300ms delay), andactive:press states on all mobile nav items, feed tabs, and activity cardsmaximumScale: 1viewport restriction that blocked pinch-to-zoom (WCAG violation), addedprefers-reduced-motionsupport to disable all animations for motion-sensitive usersapple-mobile-web-app-capablemeta, andtheme-colorfor native-feel browser chromeuseIsMobileto useuseSyncExternalStorewith a server snapshot, eliminating the layout flash where mobile UI briefly renders as desktop<article>elements withcontent-visibility: autofor lazy rendering,overscroll-behavior: noneprevents pull-to-refresh interference, and feed filter tabs enforcemin-h-[44px]touch targetsTest plan
prefers-reduced-motiondisables animations (enable in OS accessibility settings)🤖 Generated with Claude Code