callstack / callstack/react-native-pager-view
Conflicts when nesting PagerView inside of Material Top/Bottom Tab navigator
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.4k
- Forks
- 476
- Merge medio
- 10 d 21 h
- PR fusionados (30 d)
- 2
Descripción
## Environment
- Using Expo Router V2
- Using React Navigation Material Top Tabs
## Description
I have a vertical view pager nested inside of a material top tab screen. The vertical view pager works perfectly fine, however, I am no longer able to swipe horizontally across screens.
The nested ViewPager within the screen seems to hog all the swipe events and prevents me from swiping horizontally between screens of my navigator, which I believe is built on top of react-native-pager-view as well.
Ideally, the screen would register vertical swiping for my nested ViewPager and horizontal swiping for my navigator. Is there some way to allow my nested ViewPager to register just vertical swipes and pass through horizontal swipes to the parent?
Guía de contribución
Línea de trabajo
Comienza reproduciendo el ViewPager vertical anidado dentro de React Navigation Material Top Tabs con Expo Router V2. Investiga cómo se gestionan los gestos de los paginadores anidados y verifica que los deslizamientos verticales permanezcan en el hijo, mientras que los deslizamientos horizontales lleguen al navegador padre; se considera terminado cuando ambas direcciones funcionan sin regresiones.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react-native, typescript
- Área
- mobile-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100