callstack / callstack/react-native-pager-view
Cannot swipe to other screen on first and last index with react-navigation material-top-tabs
- Langage dominant
- TypeScript
- Étoiles
- 3.4k
- Forks
- 476
- Merge moyen
- 10 j 21 h
- PR mergées (30 j)
- 2
Description
## Environment
Expo SDK 48, React Navigation & PagerView (latests versions)
## Description
So I have a PagerView with multiple images that you can swipe through like a gallery post, and I also use Material Top Tabs from React Navigation so people can swipe between screens. The expected behavior (that I want and also get on Android) is, that when you are on the first index and swipe left, React Navigation takes over and you can change the screen, and when you are on the last index and swipe right you change the screen. It works on Android but not on iOS.
## Reproducible Demo
Install React Native PagerView, React Native Navigation with Material Top Tabs, set up 2-3 Views with Images and try swiping through on iOS, to change to the next Material Top Tab
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire l’interaction des gestes entre un React Native PagerView imbriqué et React Navigation Material Top Tabs sur iOS ; l’issue ne nomme aucun fichier source ni aucun test. Comparez le comportement aux premier et dernier index avec Android, et considérez l’issue comme terminée lorsqu’un balayage vers l’extérieur depuis l’un ou l’autre bord sur iOS transfère le contrôle à l’onglet adjacent.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- ios, react-native
- Domaine
- mobile-dev
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100