Skip to content

comment pagination bug #261

@jigardeveloper

Description

@jigardeveloper

Describe the bug

found one little bug, when the API returns a mix of root and reply comments, but only a limited batch (say 10), some reply comments may arrive without their parent—and in that case your current tree list logic treats them as roots or skips them. bug only appear when comment go big scale use case.

Reproduction

add one parent and add childs more then perpage

System Info

all

Used Package Manager

npm

Validations

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions