callstack / callstack/react-native-pager-view
[iOS] `react-native-screens` v4.19.0 breaks the global back swipe gesture on pager views
- Lingua principale
- TypeScript
- Stelle
- 3.4k
- Fork
- 476
- Merge medio
- 10g 21h
- PR unite (30g)
- 2
Descrizione
## Environment
- iOS 26
- `react-native-screens` v4.19.0
- Any `react-native-pager-view` version (tested 6.8.0, 6.8.1, 8.0.0)
## Description
I have filed the same issue with `react-native-screens` here: https://github.com/software-mansion/react-native-screens/issues/3512
Since this is an issue with the interaction between these two libraries, I thought it was worth opening one here too.
After upgrading to `react-native-screens` v4.19.0, the global back gesture does not work if it's on top of a pager view. I would speculate it's due to https://github.com/software-mansion/react-native-screens/pull/3420
https://github.com/user-attachments/assets/ce30f406-2dd0-4f88-8b53-d1a13f85917d
**Expected behaviour:** I am able to swipe back to the previous screen.
This is exactly the same problem as I have with https://github.com/callstack/react-native-pager-view/issues/1006, except now it's happening on all versions
## Reproducible Demo
https://github.com/mozzius/pagerswipe-repro
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia eseguendo la demo riproducibile all’indirizzo https://github.com/mozzius/pagerswipe-repro con react-native-screens v4.19.0 e una versione elencata di react-native-pager-view, quindi leggi la issue 3512 collegata di react-native-screens. Il lavoro è completato quando lo swipe globale per tornare indietro torna alla schermata precedente mentre è attiva una vista pager.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, react-native
- Ambito
- mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100