Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading Failed message with Select2 v4 wc-product-search inputs #13890

Closed
thenbrent opened this issue Apr 4, 2017 · 3 comments
Closed

Loading Failed message with Select2 v4 wc-product-search inputs #13890

thenbrent opened this issue Apr 4, 2017 · 3 comments

Comments

@thenbrent
Copy link
Contributor

thenbrent commented Apr 4, 2017

EXPLANATION OF THE ISSUE

When searching for a product via the wc-product-search input with current master branch, a Loading Failed message is displayed between when when the search begins (i.e. after typing 3+ characters) and when the search results are returned/loaded.

Gif demonstration:

The location of the Loading failed element also seems to "stick" on the 2nd search.

STEPS TO REPRODUCE THE ISSUE

  1. Go to WooCommerce > Edit Order screen
  2. Go to Downloadable product permissions metabox
  3. Click in the select element
  4. Search for a product
@Umangvaghela
Copy link
Contributor

Hi @thenbrent

If ajax call is inconsistent that time loading failed message is display.I have tested this issue with current version of WooCommerce but I have not found this issue. Can you explain more about it.

Thanks

@mikejolley
Copy link
Member

It's a select2 bug here select2/select2#4355 for loading failed. Can 'hide' it but cannot fix it.

@mikejolley
Copy link
Member

The other issue is select2 and seems to be reported here select2/select2#4816

We'll update the library when it's available. It's won't fix from our side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants