woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
301 stars 109 forks source link

Product tab in big screen (split view) displays old selected product #14092

Open JorgeMucientes opened 3 weeks ago

JorgeMucientes commented 3 weeks ago

Describe the bug The issue is related to the split view in product list. When applying filters to the list, if the resulting filtered list is empty, the product detail that was previously selected is still visible.

To Reproduce

Using an iPad

  1. Go to products tab
  2. Select some filters until the product list is empty
  3. Notice how a product detail is still shown.

Screenshots

https://github.com/user-attachments/assets/251b9471-0b83-433e-a97b-8b3e910ca18a

Expected behavior The product detail should be cleared. The behavior of this tab should be the same as the orders tab behavior when applying filters results in an empty list.

dangermattic commented 3 weeks ago

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.