paul-thebaud / v-phone-input

International and accessible phone input for Vuetify 3 and Vue 3.
https://paul-thebaud.github.io/v-phone-input/
MIT License
65 stars 6 forks source link

bug: component height problem #12

Closed ydedev closed 1 year ago

ydedev commented 1 year ago

Thanks for your contribution, this project helped me a lot.

Expected Behavior

highly consistent

Actual Behavior

1

The area code input box is 2px lower

Steps to Reproduce the Problem

1.comment out “ //app.component('VAutocomplete', VAutocomplete);” and " //enableSearchingCountry: true,"

//app.component('VAutocomplete', VAutocomplete);
const vPhoneInput = createVPhoneInput({
  //enableSearchingCountry: true,
});

Area code input box shrinks when search is turned off

Specifications

and How to set the width of the search box in the search state 2

ydedev commented 1 year ago

test code : test-v-phone-input

paul-thebaud commented 1 year ago

Hi @ydedev, thanks for this complete and precise issue. The bug should be fixed with latest Vuetify version and v-phone-input@3.0.5 (latest) :tada: With this release, you can also quickly impact the country autocomplete width using a CSS variable: --v-phone-input-country-autocomplete-width. The default value is 70% of the input full width.