Skip to content

Commit 152c5d4

Browse files
committed
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 hasanharman#49](omeralpi/shadcn-phone-input#49)
1 parent d3afa6b commit 152c5d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/ui/phone-input.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps> =
4343
flagComponent={FlagComponent}
4444
countrySelectComponent={CountrySelect}
4545
inputComponent={InputComponent}
46+
smartCaret={false}
4647
/**
4748
* Handles the onChange event.
4849
*

0 commit comments

Comments
 (0)