Skip to content

Infinite loop #24

Closed
Closed
@ChrisRobston

Description

@ChrisRobston

If I use this, then I run into infinite loop when it pushes value to array.

addIndex (isVisible, entry, i) {
      if (isVisible) {
        this.indicesInViewPort.push(i)
      } 
    }

This fires even if I don't scroll at all!

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