callstack / callstack/react-native-pager-view

How to Detect Overscroll and from which direction?

Open
#478 0 comments 5 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
3.4k
Forks
476
Avg merge
10d 21h
Merged PRs (30d)
2

Description

## Ask your Question

I would really like to call a function as soon as a user swipes past the last page and swipes back from the first page. I can't seem to figure this out, is there a way? I know I can detect scrolling with "onPageScrollStateChanged", but I need to ONLY detect if they're swiping left on the last page or right on the first page...

Thanks for this awesome project!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing onPageScrollStateChanged entry point and how swipes are exposed by the React Native pager. Determine whether edge-direction detection is already supported and, if not, clarify the expected behavior for swiping past the last page or back from the first page.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.