Microsoft/react-native-windows

Add support for device orientation

Open

#3 595 ouverte le 5 nov. 2019

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)C# (544 forks)batch import
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted

Métriques du dépôt

Stars
 (6 114 stars)
Métriques de merge PR
 (Merge moyen 4j 14h) (45 PRs mergées en 30 j)

Description

RN4W is missing support for the "namedOrientationDidChange" event, which is supposed to be raised when the device orientation changes.

Currently, the Modal component uses this event, but apps are also free to subscribe to the event for other reasons.

See: https://facebook.github.io/react-native/docs/modal#onorientationchange https://facebook.github.io/react-native/docs/modal#supportedorientations

Guide contributeur