GeekyAnts / GeekyAnts/NativeBase
Poor performance for the `Select` component
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Poor performance for the `Select` component. When clicking on the select component, there is a very noticeable delay. The issue occurs again when selecting an item from the action sheet displayed. Note that, The issue appears on Android devices more clearly than on IOS.
**Sample Code**
```
setFieldValue("size", itemValue)}
>
```
**Screenshots**
https://user-images.githubusercontent.com/13252355/136733406-c38e3c58-3e5c-48c2-9544-ec0663295006.mov
**Platform**
- NativeBase version: 3.20
- Device: Samsung A12
- OS: Android 11
- React Native version 0.65.1
- Expo SDK version 42.0.1
- node 14.15.4
- yarn: 1.22.15
**Additional information**
The issue seems to get worst when using Formik or react-form-hook, but it is still there even without using them.
The number of items in the list is not the cause of the issue, as I have tried from 2 to 14 items and the issue is still there.
Contributor guide
Assessment
This issue has not been assessed yet.