instea / react-native-color-picker

Color picker component for IOS/Android
Apache License 2.0
272 stars 67 forks source link

Setting "color" property breaks outer circle selection #46

Open RocketRonz opened 2 years ago

RocketRonz commented 2 years ago

Both the ColorPicker and TriangleColorPicker work perfectly with RN 0.63.2 when the "color" property is NOT used.

When this property is set, the outer circle no longer registers a tap on either component. The TriangleColorPicker does update the color when tapping within the triangle, but the marker does not move to the new position.

Any help would be greatly appreciated, cheers.

RocketRonz commented 2 years ago

Can only assume that this component is no longer being supported, a real shame as it looks great & very nearly works perfectly.

jimmysafe commented 2 years ago

what are you setting the color prop to be? share the code of it please might be able to help :)

RocketRonz commented 2 years ago

Just a simple picker with the color prop set to an RGB Hex value will break the component, have also tried toHsv('red') but makes no difference:

<TriangleColorPicker style={{width: 200, height: 200}} color="#ffffff" />

Using the latest version of the component (0.6.0), happens on both Android and iOS devices.