callstack / callstack/react-native-pager-view

How to use Pager View combined with a Drawer?

Abierto
#592 1 comentario 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
TypeScript
Estrellas
3.4k
Forks
476
Merge medio
10 d 21 h
PR fusionados (30 d)
2

Descripción

I have a Drawer navigation setup with React Navigation (swipe edge width is set to the full width of the screen). In one of the routes I use Pager View. Let’s say I have 2 pages in the Pager View. Here is what I want to happen:

If I’m at the first page and I’m doing a swipe right gesture (to open the drawer), I want the drawer to open. If I’m doing a swipe left on the first page it should take me to the second page (like it normally does).

If I’m on the second page, swipe right should take me to the first page like usual but without opening the drawer.

I looked around but couldn’t find a way to get this done. Can you help? I’m not sure if this is the right place to ask this but there it goes.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No se nombran archivos, pruebas ni puntos de entrada. Empieza reproduciendo la interacción con React Navigation Drawer y Pager View usando el comportamiento de gesto descrito para dos páginas; se consideraría terminado al determinar y documentar o implementar la prioridad de gestos entre abrir el drawer y cambiar de página.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react-native, typescript
Área
mobile
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.