Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(native): a double tap on the app's first screens no longer zooms them on iOS

Maurice7f52e424e813
diff --git a/client/native-shell/index.html b/client/native-shell/index.html
index ba3f6913d..55c7cd063 100644
--- a/client/native-shell/index.html
+++ b/client/native-shell/index.html
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" />
<meta name="color-scheme" content="dark light" />
<meta name="theme-color" content="#09090b" />
<title>TREK</title>
diff --git a/client/native-shell/shell.css b/client/native-shell/shell.css
index ff4d26bbb..5134789d9 100644
--- a/client/native-shell/shell.css
+++ b/client/native-shell/shell.css
@@ -189,6 +189,9 @@ body {
text-rendering: optimizeLegibility;
user-select: none;
-webkit-user-select: none;
+ /* A double tap on a button zoomed the screen on iOS. An app does not zoom:
+ taps stay taps, panning still scrolls. */
+ touch-action: manipulation;
}
/*