barthap / expo-mega-demo

Experimenting with awesome React Native + Expo features.
168 stars 14 forks source link

[Android] Fix Reanimated/GL color picker, update RNGH #8

Open barthap opened 2 years ago

barthap commented 2 years ago
nicredshaw commented 1 year ago

Hi,

I've fixed this on Android (not tested on iPhone since don't have one to hand) by using the new Gesture and GestureDetector from RNGH2. I've also got rid of the annoying '-1 is not a valid color or brush' warning by providing a default value for the animated Path fill.

Note that the colour wheel still disappears when navigating away from the RGBControlScreen - I can't figure out why ?!

I would attach the files here, but Github doesn't seem to like TSX files attached to issues - can I send them to you ?

Nic

barthap commented 1 year ago

You can put them in gist.github.com and send link here. Or better, you can open a Pull Request to this repository with changes to these files.

nicredshaw commented 1 year ago

Pull request added: https://github.com/barthap/expo-mega-demo/pull/11