From a0d78d426cae6fe511796ce8d038cecde5198174 Mon Sep 17 00:00:00 2001 From: Sawa <34698182+sawaYch@users.noreply.github.com> Date: Thu, 7 Mar 2024 07:20:38 +0800 Subject: [PATCH] fix(ui): prevent iOS chrome zoom on input focus --- components/ui/input.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ui/input.tsx b/components/ui/input.tsx index d2008f0..aadb0ae 100644 --- a/components/ui/input.tsx +++ b/components/ui/input.tsx @@ -5,13 +5,14 @@ import { cn } from '@/lib/utils'; export interface InputProps extends React.InputHTMLAttributes {} +/* NOTE: mobile please use text-base otherwise iOS chrome will scale up the whole webapp on input focus */ const Input = React.forwardRef( ({ className, type, ...props }, ref) => { return (