Shopify / shopify-app-bridge

https://shopify.dev/docs/api/app-bridge
82 stars 9 forks source link

Cannot select when selecting a product then cancel or close. #374

Closed minhduc17801 closed 1 week ago

minhduc17801 commented 3 weeks ago

Describe the bug

When close or cancel after selecting a product with the resource picker popup, it will then become impossible to select the product when reopened.

To Reproduce

Steps to reproduce the behaviour:

  1. Open resource picker popup
  2. Select a product
  3. Close or cancel
  4. Reopen
    const selected = await shopify.resourcePicker({
      type: 'product',
      filter: {
        variants: false,
        archived: true,
        draft: true,
        hidden: true,
      },
    });

Video: https://www.loom.com/share/859308c3dec44df2a8bc1d321582f89a?sid=4d90d573-aa32-4198-89cc-bbbe006e0711

Expected behaviour

Can select.

Packages and versions

List the relevant packages you’re using, and their versions.

alfonso-noriega commented 1 week ago

This bug has been fixed here