Microsoft/react-native-windows

Add support for device orientation

オープン

#3,595 opened on 2019/11/05

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (1,134 件のフォーク)batch import
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted

Repository metrics

Stars
 (16,129 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド