Closed P1kkewyn closed 4 months ago
Hello @P1kkewyn, thank you for this issue. Here are answers to your questions. Feel free to open another issue if needed.
Country select performance is something related to Vuetify, which I cannot improve on my side...
A good approach with this is to only display the countries you need if possible, instead of displaying the whole list.
As an example, I'm using include-countries
prop to limit the list (this will only display given countries):
<v-phone-input :include-countries="['FR', 'BE']" />
To set a custom fixed width for countries menu, you can provide your own menuProps
using countryProps
property:
<v-phone-input :country-props="{ menuProps: { width: 300 } }" />
This is not done by default by this lib to keep default Vuetify behavior.
Expected Behavior
Country select stays the same size & loads quickly
Actual Behavior
Scrolling resizes the country select. It's also incredibly slow and lags considerably.
Steps to Reproduce the Problem
init-vuetify.js
create-account.vue
create-account.js
Specifications