akveo / akveo/react-native-ui-kitten
Autocomplete onBlur handler isn't called as expected
- Dominant language
- TypeScript
- Stars
- 10.7k
- Forks
- 962
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
## To Reproduce
Steps to reproduce the behavior:
1. Take the sample code for "Autocomplete Simple Usage" from https://akveo.github.io/react-native-ui-kitten/docs/components/autocomplete/overview#autocomplete
2. Add a simple `onBlur` handler like:
`onBlur={() => { alert('onBlur called!'); }}`
3. Use the Autocomplete component -> Enter some text then make it loose focus by touching/clicking on the background.
4. Notice that the `onBlur` handler is not called.
## Expected behavior
If supplied, `onBlur` should be called whenever the Autocomplete element loosed focus.
## Link to runnable example or repository (highly encouraged)
Can't seem to make a runnable Expo Snack currently, getting an odd error trying to load React.
## UI Kitten and Eva version
| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | 2.1.1 |
| @ui-kitten/components | 5.3.1 |
## Environment information
```bash
System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.0/bin/yarn
npm: 8.3.1 - ~/.nvm/versions/node/v16.13.0/bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7199119
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
```
Contributor guide
Assessment
This issue has not been assessed yet.