Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh Indicator Fails to Offset with progressViewOffset in RefreshControl #65

Open
Relie9828 opened this issue Oct 21, 2023 · 0 comments

Comments

@Relie9828
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant