callstack / callstack/react-native-pager-view
Cannot swipe to other screen on first and last index with react-navigation material-top-tabs
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3.4k
- Forks
- 476
- Ø Merge
- 10 T. 21 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
## 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
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Gesteninteraktion zwischen verschachteltem React Native PagerView und React Navigation Material Top Tabs unter iOS zu reproduzieren; das Issue nennt weder eine Quelldatei noch einen Test. Vergleiche das Verhalten am ersten und letzten Index mit Android und betrachte das Issue als abgeschlossen, wenn beim Wischen vom jeweiligen Rand nach außen unter iOS die Steuerung an den angrenzenden Tab übergeben wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, react-native
- Bereich
- mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100