Microsoft/react-native-windows
Add support for device orientation
Ouverte
#3 595 ouverte le 5 nov. 2019
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted
Métriques du dépôt
- Stars
- (16 129 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
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