callstack / callstack/react-native-pager-view

Change orientation on application orientation change

Ouverte
#512 0 commentaires 2 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

For example, we're on a portrait mode and have a vertical orientation. And then rotate the phone and make the application landscape. For this case, it's better to have a horizontal orientation. But the package doesn't allow to do so. I guess we have to re-navigate to the screen (replace the route with itself) to achieve that behavior.

## Motivation

I think it would be nice to have a possibility to change the orientation. There are cases for applications that support both landscape and portrait modes. And for these applications, it won't work as one may instinctively think would.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

L’issue ne nomme aucun fichier, test ou point d’entrée spécifique. Commencez par localiser l’implémentation liée à l’orientation pour les wrappers Android ViewPager et iOS UIPageViewController, puis définissez comment les changements d’orientation doivent être détectés et appliqués sans effectuer de nouvelle navigation. La tâche doit inclure le comportement pour les transitions du mode portrait au mode paysage et du mode paysage au mode portrait sur les deux plateformes.

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

Évaluation

Stack technique
android, ios, react-native, typescript
Domaine
mobile
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

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