can-it-be-done-in-react-native icon indicating copy to clipboard operation
can-it-be-done-in-react-native copied to clipboard

Bonus video request (doubletap to zoom imageViewer)

Open siderakis opened this issue 5 years ago • 4 comments

Hey William! I'm a big fan of your show and I've learned a lot related to reanimated and react-native-gesture-handler.

Recently, I've unsuccessfully tried to add double tap to zoom in / out support to the reanimated example image viewer.

It might make an interesting bonus episode since it would involve extending a complex component that already supports sophisticated gesture interactions. Maybe you could give some tips for managing complexity for components that support many interactions.

Thanks for the consideration!

siderakis avatar May 21 '19 23:05 siderakis

This is definitely on my list of examples I would like to build. I've already spent quite some time on it and I know that this is quite some work, so an episode related to that topic will come eventually but it's gonna take some time.

Thank you for your support and patience 🙌🏻

wcandillon avatar May 22 '19 04:05 wcandillon

I would also love to see this video. I have spent some time trying to add this feature to the ImageViewer example as well but have also been unsuccessful. Thank you for your contributions @wcandillon!

gp3gp3gp3 avatar Dec 14 '19 07:12 gp3gp3gp3

@wcandillon is this still on your radar?

enahum avatar Oct 01 '20 01:10 enahum

Here is the code which performs zoom into the point, feel free to convert it to Reanimated 1 https://github.com/terrysahaidak/react-native-gallery-toolkit/blob/master/src/ImageTransformer.tsx#L502

terrysahaidak avatar Oct 01 '20 06:10 terrysahaidak