Fix Safari/iPhone performance issues - remove 300ms click delay

- Added touch-action: manipulation CSS to eliminate 300ms tap delay
- Optimized service worker to skip cross-origin requests
- Updated viewport settings to prevent iOS delays
- Added format-detection meta tag
- Enabled Next.js performance optimizations
- Created comprehensive performance fix documentation
This commit is contained in:
2025-12-03 20:54:55 +00:00
parent bfe49e7211
commit 509de75e1a
5 changed files with 196 additions and 3 deletions

View File

@@ -104,4 +104,19 @@ mark {
-webkit-tap-highlight-color: transparent;
user-select: none;
}
/* Remove 300ms click delay on iOS Safari */
a, button, input, select, textarea {
touch-action: manipulation;
}
/* Optimize for touch interactions */
* {
-webkit-touch-callout: none;
}
/* Prevent double-tap zoom on interactive elements */
button, a, input[type="button"], input[type="submit"] {
touch-action: manipulation;
}
}