Skip to content

Commit

Permalink
fix: disable smartCaret in PhoneInput component
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
omeralpi committed Nov 23, 2024
1 parent d3afa6b commit 539730a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/ui/phone-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps> =
flagComponent={FlagComponent}
countrySelectComponent={CountrySelect}
inputComponent={InputComponent}
smartCaret={false}
/**
* Handles the onChange event.
*
Expand Down

0 comments on commit 539730a

Please sign in to comment.