Pagination component should allow navigation in nested routes #2196
lorenzo-del-rosario
started this conversation in
Ideas + Feature Requests
Replies: 1 comment 4 replies
-
We need to see code :) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a products list page (
collections/all
) with HydrogenPagination
component and infinite scroll.On click on a product it should navigate to (
collections/all/:productID
) and open a Dialog within anOutlet
.If I scroll enough to request a second page the default behaviour of the Pagination components resets the state on path changes, triggering a set of calls to retrieve previous pages content.
bc32f248-9788-4acc-b214-1b1bbf90bb1b.mp4
This is how it behaves if I comment out the
navigate
in this useEffect.dfgdfg.mp4
Beta Was this translation helpful? Give feedback.
All reactions