react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Picker doesn't update activeTextColor when scroll fast

Open woowalker opened this issue 1 year ago • 3 comments

Description

Related to

  • [x] Components
  • [ ] Demo
  • [ ] Docs
  • [ ] Typings

Steps to reproduce

Scroll the panel fast

Expected behavior

When scroll stop the focus item will apply activeTextColor style

Actual behavior

Not

More Info

Code snippet

<WheelPicker
  items={[{ label: 'Yes', value: 'yes' }, { label: 'No', value: 'no' }, { label: 'Maybe', value: 'maybe' }]}
  activeTextColor='red'
  inactiveTextColor='yellow'
  onChange={(item) => console.log('changed', item)}
/>

Screenshots/Video

image

Environment

image

  • React Native version: 18.2.0
  • React Native UI Lib version: 7.16.0

Affected platforms

  • [x] Android
  • [ ] iOS
  • [ ] Web

woowalker avatar Feb 07 '24 06:02 woowalker