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

feat: allow header to move down on pull to refresh on iOS #228

Merged
merged 1 commit into from
Jan 15, 2022

Conversation

andreialecu
Copy link
Collaborator

@andreialecu andreialecu commented Jan 15, 2022

This implements a new property:

  /**
   * Whether the header moves down during overscrolling (for example on pull-to-refresh on iOS) or sticks to the top
   *
   * @default false
   */
  allowHeaderOverscroll: boolean

It basically allows the header to move down while overscrolling on iOS so that the pull to refresh appears above the header rather than below.

Here's a video of what this does:

Simulator Screen Recording - iPhone 12 - 2022-01-15 at 13 17 24

@andreialecu andreialecu force-pushed the feat-headeroverscrollios branch from f8cae30 to e32a4b8 Compare January 15, 2022 11:19
@andreialecu andreialecu force-pushed the feat-headeroverscrollios branch from e32a4b8 to 572f9c2 Compare January 15, 2022 11:23
@andreialecu andreialecu merged commit d0e063b into main Jan 15, 2022
@andreialecu andreialecu deleted the feat-headeroverscrollios branch January 15, 2022 11:25
@andreialecu
Copy link
Collaborator Author

Released as 4.5.0

@Bimbimz
Copy link

Bimbimz commented Sep 17, 2022

i added allowHeaderOverscroll but it doesn't show anything.
is there a full code example for this?

i run it on android project

@Jamal-ReachFirst
Copy link

Its not working on Android

@Jamal-ReachFirst
Copy link

Please reopen this issue

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

Successfully merging this pull request may close these issues.

3 participants