Microsoft/react-native-windows

Add support for device orientation

開放

#3,595 建立於 2019年11月5日

 (4 則留言) (0 個反應) (0 位負責人)C++ (1,134 個分叉)batch import
API: CompletionNeeds WinUI 3Workstream: Component Parityenhancementhelp wanted

倉庫指標

星標
 (16,129 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南