natintosh / intl_phone_number_input

MIT License
164 stars 496 forks source link

Country Flag Padding change when changing PhoneInputSelectorType.DROPDOWN to selectorType: PhoneInputSelectorType.BOTTOM_SHEET #352

Open ChanakaWeerasinghe opened 1 year ago

ChanakaWeerasinghe commented 1 year ago

when changing PhoneInputSelectorType.DROPDOWN to selectorType: PhoneInputSelectorType.BOTTOM_SHEET Padding changes

PhoneInputSelectorType.BOTTOM_SHEET

Screen Shot 2022-10-11 at 10 43 58 PM

PhoneInputSelectorType.DROPDOWN

Screen Shot 2022-10-11 at 10 49 29 PM

It should be good in a second screenshot is there any way to do this

geosebas commented 7 months ago

I still have the same problem !

Did anyone find a way to fix this ?

geosebas commented 7 months ago

Ah my bad by looking inside the code I just found SelectorConfig.leadingPadding that seams to fix the problem here.

But the doc is missing some properties ^^