Microsoft/react-native-windows

Add support for device orientation

Open

#3.595 aberto em 5 de nov. de 2019

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)C# (544 forks)batch import
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted

Métricas do repositório

Stars
 (6.114 stars)
Métricas de merge de PR
 (Mesclagem média 4d 14h) (45 fundiu PRs em 30d)

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

Guia do colaborador