typesnippet / antd-phone-input

Advanced, highly customizable phone input component for Ant Design.
https://playground.typesnippet.org/antd-phone-input-5.x/
MIT License
51 stars 10 forks source link

Fix the input styles when using a Bootstrap #44

Closed ArtyomVancyan closed 12 months ago

ArtyomVancyan commented 12 months ago

Motivation:

This PR fixes the #41 issue and improves the token initiation logic for newer versions of Ant Design. After version 5.8.6 Ant uses initComponentToken to generate the common token for a component, and the legacy code with initInputToken was not enough for the search box of the country select dropdown (it can be seen in the screenshot of #39 discussion).

All Submissions:

Changes to Core Features: