wix / react-native-ui-lib

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

wheel picker separators code refactor #3232

Closed adids1221 closed 1 month ago

adids1221 commented 1 month 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