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

Posts rendered in infinite scroll don't always have the correct order #4146

Closed
irinelenache opened this issue Nov 17, 2023 · 1 comment · Fixed by #4149
Closed

Posts rendered in infinite scroll don't always have the correct order #4146

irinelenache opened this issue Nov 17, 2023 · 1 comment · Fixed by #4149
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product. small (1-3h) This label is used for issues that can be completed within 3 hours or less.

Comments

@irinelenache
Copy link
Contributor

Description

Sometimes the rendered posts don't have the correct ordering depending on how i scroll the page i think https://vertis.d.pr/v/k83Qoc
I see these 2 requests are always triggered in the correct order (page/2 , page/3) but sometimes the visible posts are from page/3 then page/2

Found the issue while testing this #4137

Step-by-step reproduction instructions

  1. Create some order posts so it's easier to follow (post 1, post 2...)
  2. In Dashboard > Settings > Reading lower the posts per page number so the infinite scroll is triggered easier
  3. Enable the infinite scroll on the blog page
  4. Try to scroll the page multiple times with different speeds and check if the rendered posts have the correct order

Screenshots, screen recording, code snippet or Help Scout ticket

https://vertis.d.pr/v/k83Qoc

Environment info

WordPress 6.4.1 / Neve 3.7.3

Is the issue you are reporting a regression

No

@irinelenache irinelenache added the bug This label could be used to identify issues that are caused by a defect in the product. label Nov 17, 2023
@Soare-Robert-Daniel Soare-Robert-Daniel linked a pull request Nov 21, 2023 that will close this issue
6 tasks
@Soare-Robert-Daniel Soare-Robert-Daniel added the small (1-3h) This label is used for issues that can be completed within 3 hours or less. label Nov 21, 2023
@preda-bogdan preda-bogdan mentioned this issue Nov 28, 2023
@pirate-bot
Copy link
Collaborator

🎉 This issue has been resolved in version 3.7.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product. small (1-3h) This label is used for issues that can be completed within 3 hours or less.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants