Microsoft/react-native-windows

Add support for device orientation

Open

#3.595 geöffnet am 5. Nov. 2019

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (544 Forks)batch import
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted

Repository-Metriken

Stars
 (6.114 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 14h) (45 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide