The select component now requires _onFocus_ and _onBlur_ properties in version 4.4.0.
Steps to reproduce the behavior:
<Select
data={this.programOptions}
label="Program"
onSelect={option => this.onSelect(option)}
/>
Before version 4.4.0 onFocus and onBlur were not required by the Prop types for the select component. onFocus and onBlur should be optional props.
馃槆
| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | 1.3.0 |
| @ui-kitten/components | 4.4.0 |
react-native run-ios
I meet the same i end up by overriding select ui-kitten SelectProps: type MySelectProps = Omit
onFocus?: () => void;
onBlur?: () => void;
}
The fix is already present in master https://github.com/akveo/react-native-ui-kitten/pull/877 and will be included in the next release
@artyorsh thank you!
Most helpful comment
The fix is already present in master https://github.com/akveo/react-native-ui-kitten/pull/877 and will be included in the next release