callstack / callstack/react-native-pager-view
I would like the Height to be scaled according to the children
- Lingua principale
- TypeScript
- Stelle
- 3.4k
- Fork
- 476
- Merge medio
- 10g 21h
- PR unite (30g)
- 2
Descrizione
## Describe the feature
I saw that there are numerous issues saying that the height of the PagerView is not according to the height of the children. I wish it was. Is it possible to implement this in the current source code architecture? Is there any direction? I would like to do a PR with this, but first I wanted to know if it's possible.
I saw the workarounds and in my use case they are not enough.
## Motivation
I have several pages that have varying sizes. I use LazyPagerView from the new Pre-Release version, so I can't consider the highest height of the first pages.
## Related Issues
https://github.com/callstack/react-native-pager-view/issues/436
https://github.com/callstack/react-native-pager-view/issues/386
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando l’implementazione attuale di PagerView e LazyPagerView e le issue correlate #436 e #386. Determina se l’architettura esistente è in grado di misurare altezze variabili degli elementi figli, quindi definisci il completamento in modo che l’altezza di PagerView si adatti all’elemento figlio attualmente visualizzato sulle piattaforme supportate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native, typescript
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100