On a fresh install and following the readme steps, you end up with 2 versions of @react-native-picker/picker installed. The one that you install yourself (the readme says to) and the version that's listed in the package.json dependencies.
This leads to some bugs from the older version of @react-native-picker/picker bleeding into this component when used with react-native-web. See this example.
Solution
Move @react-native-picker/picker to peerDependencies in package.json. Keep separate install step in readme.
Problem
On a fresh install and following the readme steps, you end up with 2 versions of
@react-native-picker/picker
installed. The one that you install yourself (the readme says to) and the version that's listed in the package.json dependencies.This leads to some bugs from the older version of
@react-native-picker/picker
bleeding into this component when used withreact-native-web
. See this example.Solution
Move @react-native-picker/picker to peerDependencies in package.json. Keep separate install step in readme.