You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that on low end smartphones (or old smartphones), the load time in the checkout selection fields is very big.
I think this is caused by the loading of all the states and cities in the js selector on page load.
Is there a way to make it selective?
eg. select state 1, load just cities A1-Z1;
select state 2, load just cities A2-Z2.
Also, due to this very high load time, if the user clicks the field and accidently types something (the keyboard is not shown ini this state, but android takes the input anyway) and writes something in the field, it will break the selector completely.
Thank you, cheers!
The text was updated successfully, but these errors were encountered:
You can have a look here, this one loads cities when the state is selected, it's better to wait at most 1 second for loading, compared to loading all cities on state select.
launch a vm (low spec) with an android OR use a low-end smartphone (I used Samsung Galaxy J7 2017)
go to the checkout on a basic WooCommerce installation
as soon as you have the page loaded try to select a state/city
It will show you the keyboard and allow you to input, but it will not load the dropdown for another few seconds (from my measurements around 5-6 seconds). IF the user inputs anything in the field, it will break the selector and won't load the list anymore.
Hi there,
I just noticed that on low end smartphones (or old smartphones), the load time in the checkout selection fields is very big.
I think this is caused by the loading of all the states and cities in the js selector on page load.
Is there a way to make it selective?
eg. select state 1, load just cities A1-Z1;
select state 2, load just cities A2-Z2.
Also, due to this very high load time, if the user clicks the field and accidently types something (the keyboard is not shown ini this state, but android takes the input anyway) and writes something in the field, it will break the selector completely.
Thank you, cheers!
The text was updated successfully, but these errors were encountered: