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
The "No Products Available" placeholder is still visible after creating a product and going back to the products page listing the new product. Pull to refresh fixes it by making it disappear. Likewise, when there's a product in the list and you edit it to change its status (and making it filtered out from the list) and go back, the "No Products Available" placeholder is not visible until pull to refresh
To Reproduce
Go on the "Products" tab and make this list empty (either use a filter with no results, or start with a brand new store empty of any product). We see "No products found", as expected;
Tap on + to add a product, and fill the details
Go back (either publish the product then go back, or go back and choose save the product as draft) and land on the Products page again
We see both the newly created product in the list… and still the "No products found" placeholder, which is confusing
Pull-to-refresh solves this and makes the "No products found" disappear now that there's one product in the list
Likewise when editing a product to change its state then go back on the product list (on which a filter was applied, making the list empty now that there's no matching product), the "No products found" is not shown on the empty list screen until we pull-to-refresh
Screenshots
Initial view: OK ✅
After adding a new product then hit back 🐞
After changing the state of a product then hit back 🐞
Expected behavior
The "No Products Available" placeholder visibility state should be refreshed when we go back to that screen
Isolating the problem:
I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
This bug happens with a default WordPress theme active, or Storefront.
I can reproduce this bug consistently using the steps above.
Mobile Environment
Please include:
Device: Pixel 2 API 30 emulator and Galaxy S20 physical device
Android version: API 30 (emulator), Android 10 (S20)
Describe the bug
The "No Products Available" placeholder is still visible after creating a product and going back to the products page listing the new product. Pull to refresh fixes it by making it disappear. Likewise, when there's a product in the list and you edit it to change its status (and making it filtered out from the list) and go back, the "No Products Available" placeholder is not visible until pull to refresh
To Reproduce
Screenshots
Expected behavior
The "No Products Available" placeholder visibility state should be refreshed when we go back to that screen
Isolating the problem:
Mobile Environment
Please include:
The text was updated successfully, but these errors were encountered: