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
When creating a <ResourceList> with selectedItems and onSelectionChange if you click the select all, remix throws an error. It only checks the the select all option, all other item checkboxes are empty. It does change the state setSelected, but the array now contains the amount of items. [1,2,3, etc] . It also throws the same error on an item checkbox click.
Expected behavior
It should select all checkboxes on click of the "select all" checkbox.
Actual behavior
On click of "select all" checkbox no other checkboxes are selected.
Screen.Recording.2023-10-23.at.10.04.36.AM.mov
Steps to reproduce the problem
Create shopify remix app via CLI. (typescript)
Create a route and import a ResourceList as a childComponent, with resourceItem
this prevents the following deprecation warning:
```
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition2 which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
```
fixesShopify#11016
Issue summary
When creating a
<ResourceList>
withselectedItems
andonSelectionChange
if you click the select all, remix throws an error. It only checks the the select all option, all other item checkboxes are empty. It does change the state setSelected, but the array now contains the amount of items.[1,2,3, etc]
. It also throws the same error on an item checkbox click.Expected behavior
It should select all checkboxes on click of the "select all" checkbox.
Actual behavior
On click of "select all" checkbox no other checkboxes are selected.
Screen.Recording.2023-10-23.at.10.04.36.AM.mov
Steps to reproduce the problem
Reduced test case
WIP
Specifications
The text was updated successfully, but these errors were encountered: