Skip to content

Commit

Permalink
Fix the arrow position
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtyomVancyan committed Dec 25, 2024
1 parent eff5d91 commit 3e5e506
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions development/src/ant-phone/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,21 +242,21 @@ const PhoneInput = forwardRef(({
value={selectValue}
style={{display: "none"}}
key={`${countryCode}_default`}
label={<>
label={<div style={{display: "flex"}}>
<div className={`flag ${countryCode}`}/>
{suffixIcon}
</>}
</div>}
/>
{countriesList.map(([iso, name, dial, pattern]) => {
const mask = disableParentheses ? pattern.replace(/[()]/g, "") : pattern;
return (
<Select.Option
value={iso + dial}
key={`${iso}_${mask}`}
label={<>
label={<div style={{display: "flex"}}>
<div className={`flag ${iso}`}/>
{suffixIcon}
</>}
</div>}
children={<div className={`${prefixCls}-phone-input-select-item`}>
<div className={`flag ${iso}`}/>
{countries[name]}&nbsp;{displayFormat(mask)}
Expand Down

0 comments on commit 3e5e506

Please sign in to comment.