这是indexloc提供的服务,不要输入任何密码
Skip to content

Infinite Scroll lastChild can be a comment #2

@Rudedog9d

Description

@Rudedog9d

Describe the bug
If the last child of the element you're watching in a comment, it won't have a bounding rect, causing the infiniteScroll to not work.

Desktop (please complete the following information):

  • OS: PopOS (ubuntu-based linux)
  • Browser Chrome
  • Version [e.g. 22]

Additional context
Using lastElementChild and firstElementChild seems to fix the problem

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