Open MHasankhan opened 3 days ago
Hi @MHasankhan, I have two questions:
dropdownRender
option?P.S. The dropdownRender
option has been added after noticing a similar issue in the Storybook environment.
@ArtyomVancyan yes I tried with dropdownRender, but same issue appeared, because dropdown actually the child of ant-select-dropdown, Unfortunately I don't have minimal application repsository url, as its the private repo
Okay, you can either create a public repo where the problem with styles is reproduced and share the link so I can fix the problem, or you can contribute to the project and recommend your changes. I will review your pull request and release the changes. Please follow the steps below:
npm run build
- generates js files and type declarationsnpm pack
- generates installable tarball fileantd-phone-input
package version with file:<path-to-cloned-fork>/antd-phone-input-<version>.tgz
node_modules
and package-lock.json
or yarn.lock
files, and reinstall the packages
Bug description
I used this component in our app, Facing issue to control width of phoneNumber Country Selection Dropdown, If i"ll use classe 'ant-select-dropdown', it'll break other select dropdowns, I have attached the screen shots. Suggestion: Add popupClassName and dropdownStyles props in PhoneInput, as antd already provided this prop on Select component
Reproduction URL
No response
Reproduction steps
1- Open Country Code Selection dropdown 2-Popup getting width 62px, which breaking the styles
Screenshots
Logs
No response
Browsers
Firefox, Chrome, Safari, Microsoft Edge, Opera
OS
Mac