wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.59k stars 717 forks source link

wheel picker separators code refactor #3232

Closed adids1221 closed 2 months ago

adids1221 commented 3 months ago

Description

WheelPicker separators was rendered above the AnimatedFlatList, which cause that the separator render over the current item.

example code snippet (from the example screen):

           <WheelPicker
            initialValue={'February'}
            activeTextColor={Colors.$textPrimary}
            inactiveTextColor={Colors.$textNeutralHeavy}
            items={monthItems}
            textStyle={Typography.text60R}
            numberOfVisibleRows={3}
            separatorsStyle={{backgroundColor: Colors.red70}}
          />

Changelog

WheelPicker separators render below the list items.

Additional info

3028