callstack / callstack/react-native-pager-view

[Android] onPageSelected callback fire before the ViewPager finishes navigating to the selected page with swiping.

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

Description

## Environment

React native v0.70.5
Pager View v6.1.0

## Description

onPageSelected callback fire before the ViewPager finishes navigating to the selected page on Android. IOS is fine.

Changing screen with swipe that trigger screen change with the velocity help. In the middle of screen transition onPageSelected fires.

## Reproducible Demo

The one with example folder

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.