callstack / callstack/react-native-pager-view

Change orientation on application orientation change

Offen
#512 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
3.4k
Forks
476
Ø Merge
10 T. 21 Std.
Gemergte PRs (30 T.)
2

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Das Issue nennt keine spezifischen Dateien, Tests oder Einstiegspunkte. Beginne damit, die orientierungsbezogene Implementierung für die Android ViewPager- und iOS UIPageViewController-Wrapper zu lokalisieren, und definiere anschließend, wie Orientierungsänderungen erkannt und angewendet werden sollen, ohne eine erneute Navigation durchzuführen. Der Abschluss sollte das Verhalten für Übergänge sowohl vom Hoch- ins Querformat als auch vom Quer- ins Hochformat auf beiden Plattformen umfassen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, ios, react-native, typescript
Bereich
mobile
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.