callstack / callstack/react-native-pager-view

I would like the Height to be scaled according to the children

Ouverte
#532 10 commentaires 14 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
3.4k
Forks
476
Merge moyen
10 j 21 h
PR mergées (30 j)
2

Description

## 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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par examiner l’implémentation actuelle de PagerView et LazyPagerView, ainsi que les issues associées #436 et #386. Déterminez si l’architecture existante peut mesurer des hauteurs d’enfants variables, puis définissez l’achèvement de sorte que la hauteur de PagerView s’adapte à l’enfant actuellement affiché sur les plateformes prises en charge.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react-native, typescript
Domaine
mobile
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.