ptmt / react-native-macos

[deprecated in favor of https://microsoft.github.io/react-native-windows/] React Native for macOS is an experimental fork for writing desktop apps using Cocoa
MIT License
11.25k stars 429 forks source link

PickerIOS component is not rendered #219

Closed maxceem closed 5 years ago

maxceem commented 5 years ago

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment: OS: macOS 10.14.2 Node: 8.12.0 Yarn: 1.12.3 npm: 6.4.1 Watchman: Not Found Xcode: Xcode 10.1 Build version 10B61 Android Studio: 3.2 AI-181.5540.7.32.5056338

Packages: (wanted => installed) react: 16.2.0 => 16.2.0 react-native: Not Found

Steps to Reproduce

<PickerIOS> component is not rendered.

image

  1. Clone this repository.
  2. Open project RNTester/RNTester.xcodeproj in XCode and run it.
  3. On the left side menu click AyncStorage.
  4. On the right side, right under Basics - getItem, setItem, removeItem <PickerIOS> component has to be rendered, but it's not.

Expected Behavior

In the README there is link to compiled UIExample which can be donwloaded the link.

If we run it, and navigate to AyncStorage example, we can see that <PickerIOS> compnent is rendered here, even not perfectly:

image

Actual Behavior

See, steps to reproduce.

Reproducible Demo

See, steps to reproduce.

Notes

aleclarson commented 5 years ago

The name "IOS" in <PickerIOS> implies an iOS-only native component. Since this is a macOS-focused fork of React Native, it's not possible to support this.

Subscribe to #202 for updates on the macOS <Picker> component.