When we declare the ResourcePicker limiting the allowable selected elements, by setting the options.selectMultiple to a random number (for example 2), the selection behaves inconsistently.
So we end up even after closing the Resource Picker to not be able to make a different selection upon reopening it.
To Reproduce
Steps to reproduce the behaviour:
Use ResourcePicker (we use @shopify/app-bridge 3.7.10). We normally use it with the @shopify/app-bridge-react 3.7.10 but also as standalone code it causes problems within our app.
Describe the bug
When we declare the ResourcePicker limiting the allowable selected elements, by setting the options.selectMultiple to a random number (for example 2), the selection behaves inconsistently.
So we end up even after closing the Resource Picker to not be able to make a different selection upon reopening it.
To Reproduce
Steps to reproduce the behaviour:
Use ResourcePicker (we use @shopify/app-bridge 3.7.10). We normally use it with the @shopify/app-bridge-react 3.7.10 but also as standalone code it causes problems within our app.
https://www.loom.com/share/f5f45b2455174dc7b7890d2ba0223e4b?sid=b271c0b1-0b9c-4185-ac8e-1a890d74129e https://www.loom.com/share/81065ad080524c0bb3a790d4c24ff8ef?sid=78a83e35-c3a6-4d4c-ae42-52d049ddfcb9
Expected behaviour
We would expect that the ResourcePicker works as in the past. It appears that when we set this variable the behaviour of selection breaks.
Contextual information
Packages and versions
List the relevant packages you’re using, and their versions. For example:
@shopify/app-bridge
@3.7.10
@shopify/app-bridge-react
@3.7.10
@shopify/polaris
@9.10.0
Platform
Additional context
We tried also other app-bridge 3.X.X versions, and its broken on various OS.