Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting "color" property breaks outer circle selection #46

Open
RocketRonz opened this issue Sep 7, 2021 · 3 comments
Open

Setting "color" property breaks outer circle selection #46

RocketRonz opened this issue Sep 7, 2021 · 3 comments

Comments

@RocketRonz
Copy link

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
Copy link
Author

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

@jimmysafe
Copy link

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

@RocketRonz
Copy link
Author

RocketRonz commented Dec 3, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants