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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user