react-native-picker-select icon indicating copy to clipboard operation
react-native-picker-select copied to clipboard

Exception thrown when executing UIFrameGuarded

Open gesangseto opened this issue 5 months ago • 2 comments

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:

  1. npm install @react-native-picker/picker'
  2. react-native run-android
  3. See error on screen

Expected behavior
The RN Project and picker should running normally without throwing an error.

Screenshots
Image

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 ;

gesangseto avatar May 20 '25 02:05 gesangseto