Skip to content

Refresh Indicator Fails to Offset with progressViewOffset in RefreshControl #65

@Relie9828

Description

@Relie9828

Describe the bug

The progressViewOffset property for the RefreshControl component is not functioning as expected. When setting an offset value, the refresh indicator does not move from its default position at the top of the view.

Reproduce

Steps to reproduce the behavior:

  1. Go to a page with a scroll view that uses RefreshControl.
  2. Set the progressViewOffset property to a numeric value, for example, 50.
  3. Perform a pull-to-refresh action on the scroll view.
  4. Observe that the refresh indicator remains at its default position and does not move down by 50 units as expected.
<RefreshControl progressViewOffset={50} />

Expected behavior

The refresh indicator should move 50 units down from its default position, aligning itself according to the progressViewOffset value set.

Smartphone:

  • Device: [iPhone 14, pro Max]
  • OS: [iOS 17.0]

Additional context

This issue limits the ability to create a polished and well-aligned user interface, especially when using custom headers or UI elements that need to align with the refresh indicator.

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