Microsoft/react-native-windows

Add support for device orientation

Open

#3595 aperta il 5 nov 2019

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C# (544 fork)batch import
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted

Metriche repository

Star
 (6114 star)
Metriche merge PR
 (Merge medio 4g 14h) (45 PR mergiate in 30 g)

Descrizione

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

Guida contributor