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

贡献者指南