-
Notifications
You must be signed in to change notification settings - Fork 66
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
Triangle picker not working (triangle not rotating) #17
Comments
@sodik82 |
we plan to incorporate PR #16 and see how it looks like (this week) |
Ok, thanks for the info |
I have released PR fixing warning. I test our examples on IOS simulator and triangle example worked well. can you try our expo examples or there must be something "extraordinary" in your setup |
The Expo example works fine, I'll try my code in Expo and Expo code in my App and tell you what I find. |
I tried my code in Expo: It worked
Maybe it works on Expo only? |
The issue above (holo picker) happens to me too |
Same here |
Same here, a styling issue that can be solved at the user end? |
it looks like IOS somehow does not update rotation transform on the view as the angle changes. however initial value works fine.... but I can't find anything special about it in change log |
can you try version |
I apply the rotation hack to Holo picker myself, but didn't work.. |
@sodik82 I've tried the version
I captured all these symptoms in this little video |
hm... I have seen small flickering but it looked "okeyish". It is the price for the forcing IOS to update the Maybe I can "reduce" the effect by playing how often to force rendering.... Any other thoughts? |
The flickering happens when moving the little circle inside the triangle, |
hi there.... I have just released Simple example: |
However it looks strange that triangle rotate if you just play inside.... It should not happen if you use advice from README
what is your case - controlled or uncontrolled? |
I use a controlled component and I use the provided toHsv to pass the color
I'll test the |
I tried |
Hi @Sofianio , as mentioned earlier, you should NOT convert color fromHsv (and back toHsv) when using controlled component. Use something like this instead:
i.e. use HSV representation for color picker and |
Hi @sodik82 Nice work. |
I have this problem on Android with 0.4.6. The triangle is not rotating. |
@sodik82, the issue is fixed in iOS but not in Android (v0.4.6) |
I didn't notice there was a newer version |
Calm down, the commit is linked and includes the version bump. Thank you for your great work @sodik82 |
Don't get me wrong, I am thankful for this module and I want it to be working perfectly for me and others. |
thanks everyone for contributions (incl. reports) and patience :) |
I ended up learning that in my case the issue was somehow linked to my navigation library. When I isolated this screen in its own navigation stack the issue went away but when I had this screen as part of a larger navigation stack it persisted. |
Thanks man! it did work |
I am having this issue on android, "react-native": "0.62.2" and "react-native-color-picker": "^0.5.2"
Is there any solution? |
I tried this package on iOS and it didn't work properly,
you can see that:
The text was updated successfully, but these errors were encountered: