Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Wishlist pagination issue to display more than 2 pages #4452

Open
1 of 8 tasks
joseamietta opened this issue Mar 12, 2025 · 2 comments
Open
1 of 8 tasks

[bug]: Wishlist pagination issue to display more than 2 pages #4452

joseamietta opened this issue Mar 12, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@joseamietta
Copy link

joseamietta commented Mar 12, 2025

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:

  1. You must enable multiple wishlist from backend
  2. Sign in and add more than 40 products for each list
  3. 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
@joseamietta joseamietta added the bug Something isn't working label Mar 12, 2025
Copy link

m2-assistant bot commented Mar 12, 2025

Hi @joseamietta. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

@joseamietta
Copy link
Author

@magento I am working on this

@joseamietta joseamietta changed the title [bug]: Wishlist not show more than 2 pages [bug]: Wishlist pagination issue to display more than 2 pages Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant