From 2ce1fa2aed189a93516c1f5cf34eaeb4a5447a78 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Wed, 7 Oct 2026 17:30:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=91=90=20=EB=B2=88=20=ED=83=AD=C2=B7?= =?UTF-8?q?=EB=91=90=20=EC=86=90=EA=B0=80=EB=9D=BD=20=ED=99=95=EB=8C=80=20?= =?UTF-8?q?=EB=A7=89=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 2 +- frontend/src/index.css | 1 + frontend/src/main.tsx | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index 1e6b015..fe31fb9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - + 날씨각 diff --git a/frontend/src/index.css b/frontend/src/index.css index 8007ef7..81fe730 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -16,6 +16,7 @@ word-break: keep-all; overflow-wrap: break-word; -webkit-text-size-adjust: 100%; + touch-action: manipulation; } body { @apply bg-page font-sans text-ink antialiased; diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 40001fe..2ccc94b 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -5,6 +5,9 @@ import './index.css' import './api/setup' import App from './App.tsx' +// iOS는 user-scalable=no를 무시해서 두 손가락 확대를 직접 막는다 +for (const type of ['gesturestart', 'gesturechange']) document.addEventListener(type, (e) => e.preventDefault(), { passive: false }) + // 칩·지역·검색어를 바꿔 다시 받는 동안 이전 결과를 그대로 두어 화면이 비거나 접히지 않게 한다 const queryClient = new QueryClient({ defaultOptions: { queries: { staleTime: 5 * 60 * 1000, retry: 1, refetchOnWindowFocus: false, placeholderData: keepPreviousData } },