-
Notifications
You must be signed in to change notification settings - Fork 502
Open
Description
Describe the bug
everything was running smoothly before installing @react-native-picker/picker on clean project React Native: Error Exception thrown when executing UIFrameGuarded
To Reproduce
Steps to reproduce the behavior:
- npm install @react-native-picker/picker'
- react-native run-android
- See error on screen
Expected behavior
The RN Project and picker should running normally without throwing an error.
Additional details
- Device: [Android - Emulator]
- OS: [Android: 13, Android SDK built for x68_64 ]
- "react": "19.0.0",
- "react-native": "0.79.2",
- "react-native-picker-select": "^9.3.1",
Reproduction and/or code sample
import React from 'react';
import { View } from 'react-native';
import RNPickerSelect from 'react-native-picker-select';
const BatchCreate = ({navigation, route}) => {
return (
<View style={{flex: 1, backgroundColor: 'red'}}>
<RNPickerSelect
onValueChange={value => console.log(value)}
items={[
{label: 'Football', value: 'football'},
{label: 'Baseball', value: 'baseball'},
{label: 'Hockey', value: 'hockey'},
]}
/>
</View>
);
};
export default BatchCreate ;
rodrigotavio91
Metadata
Metadata
Assignees
Labels
No labels