callstack / callstack/react-native-pager-view

6.8.1 breaks the global back gesture

Open
#1,006 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.4k
Forks
476
Avg merge
10d 21h
Merged PRs (30d)
2

Description

## Environment

iOS, RN 0.79.3, Paper and Fabric

## Description

Version `6.8.1` is a regression from previous versions. We have a pager view that contains multiple scrollviews, and on the latest version the back gesture from `react-native-screens` gets swallowed by the pager.

# Expected behaviour (`6.8.0`)

https://github.com/user-attachments/assets/35198fcd-2780-4678-9242-cbc39b4c7b65

# Current behaviour (`6.8.1`)

https://github.com/user-attachments/assets/ed656f5f-a247-4a0d-b04f-84678f2c1119

The issue seems to be caused by https://github.com/callstack/react-native-pager-view/pull/933, which appears to be a fix for pagers inside of scrollviews. Unfortunately, it seems to break scrollviews inside pagers.

## Reproducible Demo

https://github.com/mozzius/pagerswipe-repro

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.