Skip to content

useViewability hook not consistently firing #277

@Jordanaman127

Description

@Jordanaman127

The useViewability hook in @legendapp/list is being seemingly inconsistent.

Its really hard to reproduce but it is happening

Environment

  • @legendapp/list version: latest
  • Expo SDK: v52 and v53
  • Platforms affected: Both Expo Go and production builds
  • React Native version: 18.3.1 and 19

Behavior

Viewability tracking is unstable with callbacks firing unpredictably or not at all for certain items during scrolling.

Video Demonstration Below

Viewability.mp4

Reproducible Demo

Repository: https://github.com/Jordanaman127/legendlist-viewability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions