From 3584d426132e372472324044670c2bb20e04e920 Mon Sep 17 00:00:00 2001 From: omeralpi Date: Sun, 24 Nov 2024 00:21:04 +0300 Subject: [PATCH] fix: disable smart caret in phone input component This fix resolves an issue with cursor behavior in mobile devices related to the phone-input package. Reference: - phone-input package fix: [PR #49](https://github.com/omeralpi/shadcn-phone-input/pull/49) --- components/ui/phone-input.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ui/phone-input.tsx b/components/ui/phone-input.tsx index a22d139..a3dd306 100644 --- a/components/ui/phone-input.tsx +++ b/components/ui/phone-input.tsx @@ -43,6 +43,7 @@ const PhoneInput: React.ForwardRefExoticComponent = flagComponent={FlagComponent} countrySelectComponent={CountrySelect} inputComponent={InputComponent} + smartCaret={false} /** * Handles the onChange event. *