hyochan / hyochan/react-native-masonry-list

Refresh Indicator Fails to Offset with `progressViewOffset` in `RefreshControl`

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
437
Forks
58
PR merge metrics
No merged PRs in 30d

Description

### 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.

```jsx

```

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.