Open
Description
Describe the bug
If a customer have 2 wihslist with more than 40 items (graphql query paginate each 20 items)
When load more, after second page the talon reset page state and execute the query with the same current page, in this case, page number 2.
To reproduce
Steps to reproduce the behavior:
- You must enable multiple wishlist from backend
- Sign in and add more than 40 products for each list
- Go to wishlist page and show the second list and paginates to reproduce the bug
Expected behavior
Normal funcionatily as a paginated list
Screenshots
Screencast.from.2025-03-12.14-14-03.mp4
Possible solutions
The talon reset the page state using an useEffect. Remove the setPage inside the useEffect.
Please complete the following device information:
- Device [Notebook]:
- Browser [Chrome]:
- Browser Version [Version 132.0.6834.110 (Official Build) (64-bit)]:
- Magento Version [Adobe Commerce 2.4.7]:
Please let us know what packages this bug is in regards to:
-
venia-concept
-
venia-ui
-
pwa-buildpack
-
peregrine
-
pwa-devdocs
-
upward-js
-
upward-spec
-
create-pwa