callstack / callstack/react-native-pager-view
How to use Pager View combined with a Drawer?
- Lingua principale
- TypeScript
- Stelle
- 3.4k
- Fork
- 476
- Merge medio
- 10g 21h
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia riproducendo l’interazione con React Navigation Drawer e Pager View usando il comportamento dei gesti descritto per due pagine; il lavoro sarà completo quando sarà determinata e documentata oppure implementata la priorità dei gesti tra l’apertura del drawer e il cambio di pagina.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native, typescript
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100