CirclesUBI / circles-mobile

Circles react-native mobile client
GNU Affero General Public License v3.0
7 stars 2 forks source link

Invalid prop 'underlayColor' supplied to 'TouchableHighlight' created antd 'SegmentedControl' #35

Closed edzillion closed 5 years ago

edzillion commented 5 years ago

This warning comes up when user navigates to the search screen.

Tracked the bug down to antd-mobile-rn here: https://github.com/ant-design/ant-design-mobile-rn/blob/2f81ff64742e60b36a990ebaf0f1df981cad5010/components/segmented-control/segmented.android.tsx#L115

Basically normalizeColor(tintColor) is returning a number like 1405654093 and not a color code / color object

Not sure if we really want to use antd. So I am going to leave this for now (I was going through reporting the bug, and they want me to make a minimal reproduction, not sure it's worth the time)

edzillion commented 5 years ago

Fixed by Ashoka